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