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