Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun7i: Add Linutronix Testbox v2 board

The Testbox board is an open hardware enhancement for the Lamobo R1 router
board. The Testbox board is used in the CI-RT project to manage devices
under test (https://ci-rt.linutronix.de).

The hardware project is located at https://github.com/ci-rt/testbox-shield

The Testbox v2 expands the Lamobo R1 router board with
- a power supply,
- a CAN bus PHY,
- a power control,
- a relay,
- an I2C EEPROM,
- a secure key storage (ATECC608a) and
- two RS232 compliant serial ports.

Co-developed-by: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Bastian Germann <bage@linutronix.de>
[Maxime: Removed unused pinctrl node]
Signed-off-by: Maxime Ripard <maxime@cerno.tech>

authored by

Bastian Germann and committed by
Maxime Ripard
4c2bc78f fc976f50

+48
+1
arch/arm/boot/dts/Makefile
··· 1086 1086 sun7i-a20-i12-tvbox.dtb \ 1087 1087 sun7i-a20-icnova-swac.dtb \ 1088 1088 sun7i-a20-lamobo-r1.dtb \ 1089 + sun7i-a20-linutronix-testbox-v2.dtb \ 1089 1090 sun7i-a20-m3.dtb \ 1090 1091 sun7i-a20-mk808c.dtb \ 1091 1092 sun7i-a20-olimex-som-evb.dtb \
+47
arch/arm/boot/dts/sun7i-a20-linutronix-testbox-v2.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 2 + /* 3 + * Copyright 2020 Linutronix GmbH 4 + * Author: Benedikt Spranger <b.spranger@linutronix.de> 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 + };