mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
0605ac405c
Copy the devicetree source for the A20 SoC and all existing boards verbatim from the Linux v5.18-rc1 tag. This commit also adds the following new board devicetrees: - sun7i-a20-haoyu-marsboard.dts - sun7i-a20-linutronix-testbox-v2.dts - sun7i-a20-olinuxino-lime-emmc.dts This update includes changes to the USB PHY detection GPIO properties which are needed to convert that driver to use the DM GPIO framework. Signed-off-by: Samuel Holland <samuel@sholland.org> [Andre: fix Mele M5 U-Boot only DT] Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
47 lines
816 B
Text
47 lines
816 B
Text
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright 2020 Linutronix GmbH
|
|
* Author: Benedikt Spranger <b.spranger@linutronix.de>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "sun7i-a20-lamobo-r1.dts"
|
|
|
|
/ {
|
|
model = "Lamobo R1";
|
|
compatible = "linutronix,testbox-v2", "lamobo,lamobo-r1", "allwinner,sun7i-a20";
|
|
|
|
leds {
|
|
led-opto1 {
|
|
label = "lamobo_r1:opto:powerswitch";
|
|
gpios = <&pio 7 3 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led-opto2 {
|
|
label = "lamobo_r1:opto:relay";
|
|
gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c2 {
|
|
clock-frequency = <100000>;
|
|
status = "okay";
|
|
|
|
eeprom: eeprom@50 {
|
|
compatible = "atmel,24c08";
|
|
reg = <0x50>;
|
|
status = "okay";
|
|
};
|
|
|
|
atecc508a@60 {
|
|
compatible = "atmel,atecc508a";
|
|
reg = <0x60>;
|
|
};
|
|
};
|
|
|
|
&can0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&can_ph_pins>;
|
|
status = "okay";
|
|
};
|