xref: /freebsd-src/sys/contrib/device-tree/src/arm/allwinner/sun7i-a20-linutronix-testbox-v2.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2020 Linutronix GmbH
4*f126890aSEmmanuel Vadot * Author: Benedikt Spranger <b.spranger@linutronix.de>
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include "sun7i-a20-lamobo-r1.dts"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "Lamobo R1";
12*f126890aSEmmanuel Vadot	compatible = "linutronix,testbox-v2", "lamobo,lamobo-r1", "allwinner,sun7i-a20";
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot	leds {
15*f126890aSEmmanuel Vadot		led-opto1 {
16*f126890aSEmmanuel Vadot			label = "lamobo_r1:opto:powerswitch";
17*f126890aSEmmanuel Vadot			gpios = <&pio 7 3 GPIO_ACTIVE_HIGH>;
18*f126890aSEmmanuel Vadot		};
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot		led-opto2 {
21*f126890aSEmmanuel Vadot			label = "lamobo_r1:opto:relay";
22*f126890aSEmmanuel Vadot			gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>;
23*f126890aSEmmanuel Vadot		};
24*f126890aSEmmanuel Vadot	};
25*f126890aSEmmanuel Vadot};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot&i2c2 {
28*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
29*f126890aSEmmanuel Vadot	status = "okay";
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot	eeprom: eeprom@50 {
32*f126890aSEmmanuel Vadot		compatible = "atmel,24c08";
33*f126890aSEmmanuel Vadot		reg = <0x50>;
34*f126890aSEmmanuel Vadot		status = "okay";
35*f126890aSEmmanuel Vadot	};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot	atecc508a@60 {
38*f126890aSEmmanuel Vadot		compatible = "atmel,atecc508a";
39*f126890aSEmmanuel Vadot		reg = <0x60>;
40*f126890aSEmmanuel Vadot	};
41*f126890aSEmmanuel Vadot};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot&can0 {
44*f126890aSEmmanuel Vadot	pinctrl-names = "default";
45*f126890aSEmmanuel Vadot	pinctrl-0 = <&can_ph_pins>;
46*f126890aSEmmanuel Vadot	status = "okay";
47*f126890aSEmmanuel Vadot};
48