summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-linutronix-testbox-v2.dts
blob: da5a2eea4ce3e8088ba41ce5e3d3902a35f4e236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright 2020 Linutronix GmbH
 * Author: Benedikt Spranger <b.spranger@linutronix.de>
 */

/dts-v1/;
#include "sun7i-a20-lamobo-r1.dts"

/ {
	model = "Lamobo R1";
	compatible = "linutronix,testbox-v2", "lamobo,lamobo-r1", "allwinner,sun7i-a20";

	leds {
		led-opto1 {
			label = "lamobo_r1:opto:powerswitch";
			gpios = <&pio 7 3 GPIO_ACTIVE_HIGH>;
		};

		led-opto2 {
			label = "lamobo_r1:opto:relay";
			gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>;
		};
	};
};

&i2c2 {
	clock-frequency = <100000>;
	status = "okay";

	eeprom: eeprom@50 {
		compatible = "atmel,24c08";
		reg = <0x50>;
		status = "okay";
	};

	atecc508a@60 {
		compatible = "atmel,atecc508a";
		reg = <0x60>;
	};
};

&can0 {
	pinctrl-names = "default";
	pinctrl-0 = <&can_ph_pins>;
	status = "okay";
};