From 8e4d04e75db94060f463c60207d59febb8ccc031 Mon Sep 17 00:00:00 2001 From: Tony Date: Sun, 4 Feb 2018 02:19:05 -0500 Subject: [PATCH] dts meson64 libretech_cc ethernet status LED's and saradc/supply update --- ...0500_dts_libretech_cc_eth_LED_saradc.patch | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 patch/kernel/meson64-next/0500_dts_libretech_cc_eth_LED_saradc.patch diff --git a/patch/kernel/meson64-next/0500_dts_libretech_cc_eth_LED_saradc.patch b/patch/kernel/meson64-next/0500_dts_libretech_cc_eth_LED_saradc.patch new file mode 100644 index 0000000000..f540cfbc5f --- /dev/null +++ b/patch/kernel/meson64-next/0500_dts_libretech_cc_eth_LED_saradc.patch @@ -0,0 +1,57 @@ +diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +index 879a4a8..77b9271 100644 +--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts ++++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +@@ -132,6 +132,13 @@ + regulator-settling-time-down-us = <50000>; + }; + ++ vddio_ao18: regulator-vddio_ao18 { ++ compatible = "regulator-fixed"; ++ regulator-name = "VDDIO_AO18"; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ }; ++ + vddio_boot: regulator-vddio_boot { + compatible = "regulator-fixed"; + regulator-name = "VDDIO_BOOT"; +@@ -169,6 +176,11 @@ + status = "okay"; + }; + ++&internal_phy { ++ pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>; ++ pinctrl-names = "default"; ++}; ++ + &ir { + status = "okay"; + pinctrl-0 = <&remote_input_ao_pins>; +@@ -198,7 +210,9 @@ + "7J1 Header Pin12", + "IR In", + "9J3 Switch HDMI CEC/7J1 Header Pin11", +- "7J1 Header Pin13"; ++ "7J1 Header Pin13", ++ /* GPIO_TEST_N */ ++ "7J1 Header Pin15"; + }; + + &pinctrl_periphs { +@@ -240,9 +254,12 @@ + "7J1 Header Pin32", "7J1 Header Pin29", + "7J1 Header Pin31", + /* Bank GPIOCLK */ +- "7J1 Header Pin7", "", +- /* GPIO_TEST_N */ +- "7J1 Header Pin15"; ++ "7J1 Header Pin7", ""; ++}; ++ ++&saradc { ++ status = "okay"; ++ vref-supply = <&vddio_ao18>; + }; + + /* SD card */