mirror of
https://github.com/armbian/build.git
synced 2025-08-09 04:36:58 +02:00
BPI-CM4: In accordance with the BSP DTS, set LED gpio to GPIO_ACTIVE_LOW. Added default-on trigger to led-green Board now powers off, added reboot node 'meson64-reboot'. CONFIG_POWER_RESET_MESON64 Isolated RESET ODROID driver and renamed to MESON64 as it can be used in more than ODROIDS. MESON UART Series improves support for UART attached Bluetooth modules on Amlogic Meson G12A and newer SoCs. These SoCs also support the "divide XTAL by 2" bit which (greatly) reduces jitter when generating baud rates such as 1500000 (which is used by the Bluetooth part of the RTL8822CS SDIO WiFi and UART Bluetooth combo chip). Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
22 lines
697 B
Diff
22 lines
697 B
Diff
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
|
|
index 8c30ce636..ee8aa390e 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
|
|
@@ -11,6 +11,16 @@ / {
|
|
compatible = "hardkernel,odroid-c4", "amlogic,sm1";
|
|
model = "Hardkernel ODROID-C4";
|
|
|
|
+ meson64-reboot {
|
|
+ compatible = "meson64,reboot";
|
|
+ sys_reset = <0x84000009>;
|
|
+ sys_poweroff = <0x84000008>;
|
|
+
|
|
+ sd-vqen = <&gpio_ao GPIOE_2 GPIO_ACTIVE_HIGH>;
|
|
+ sd-vqsw = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>;
|
|
+ sd-vmmc = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
|
|
+ };
|
|
+
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|