Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Copyright 2020 Linutronix GmbH
0004  * Author: Benedikt Spranger <b.spranger@linutronix.de>
0005  */
0006 
0007 /dts-v1/;
0008 #include "sun7i-a20-lamobo-r1.dts"
0009 
0010 / {
0011         model = "Lamobo R1";
0012         compatible = "linutronix,testbox-v2", "lamobo,lamobo-r1", "allwinner,sun7i-a20";
0013 
0014         leds {
0015                 led-opto1 {
0016                         label = "lamobo_r1:opto:powerswitch";
0017                         gpios = <&pio 7 3 GPIO_ACTIVE_HIGH>;
0018                 };
0019 
0020                 led-opto2 {
0021                         label = "lamobo_r1:opto:relay";
0022                         gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>;
0023                 };
0024         };
0025 };
0026 
0027 &i2c2 {
0028         clock-frequency = <100000>;
0029         status = "okay";
0030 
0031         eeprom: eeprom@50 {
0032                 compatible = "atmel,24c08";
0033                 reg = <0x50>;
0034                 status = "okay";
0035         };
0036 
0037         atecc508a@60 {
0038                 compatible = "atmel,atecc508a";
0039                 reg = <0x60>;
0040         };
0041 };
0042 
0043 &can0 {
0044         pinctrl-names = "default";
0045         pinctrl-0 = <&can_ph_pins>;
0046         status = "okay";
0047 };