From f1a75c25f9af33f019e5ee924bf5d3b6c2186afc Mon Sep 17 00:00:00 2001 From: wenij Date: Tue, 22 Mar 2022 11:06:12 +0800 Subject: [PATCH] ipq807x: Cybertan EWW622-A1 LED fixes Signed-off-by: wenij --- .github/workflows/build-dev.yml | 2 +- .../boot/dts/qcom/qcom-ipq5018-eww622-a1.dts | 18 +++++------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 3843e77b0..0d8d2ab36 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - target: ['actiontec_web7200', 'cig_wf188n', 'cig_wf194c', 'cig_wf194c4', 'cig_wf196', 'cig_wf160d', 'cig_wf808', 'cybertan_eww622-a1', 'edgecore_eap101', 'edgecore_eap102', 'edgecore_eap104', 'edgecore_ecs4100-12ph', 'edgecore_ecw5211', 'edgecore_ecw5410', 'edgecore_oap100', 'edgecore_ssw2ac2600', 'edgecore_spw2ac1200', 'edgecore_spw2ac1200-lan-poe', 'hfcl_ion4', 'hfcl_ion4xe', 'hfcl_ion4xi', 'indio_um-305ac', 'linksys_ea6350-v4', 'linksys_e8450-ubi', 'linksys_ea8300', 'tp-link_ec420-g1', 'tplink_ex227', 'tplink_ex228', 'tplink_ex447', 'wallys_dr40x9', 'wallys_dr6018', 'wallys_dr6018_v4' ] + target: ['actiontec_web7200', 'cig_wf188n', 'cig_wf194c', 'cig_wf194c4', 'cig_wf196', 'cig_wf160d', 'cig_wf808', 'cybertan_eww622-a1', 'edgecore_eap101', 'edgecore_eap102', 'edgecore_eap104', 'edgecore_ecs4100-12ph', 'edgecore_ecw5211', 'edgecore_ecw5410', 'edgecore_oap100', 'edgecore_ssw2ac2600', 'edgecore_spw2ac1200', 'edgecore_spw2ac1200-lan-poe', 'hfcl_ion4', 'hfcl_ion4xe', 'hfcl_ion4xi', 'indio_um-305ac', 'linksys_ea6350-v4', 'linksys_e8450-ubi', 'linksys_ea8300', 'tp-link_ec420-g1', 'tplink_ex227', 'tplink_ex228', 'tplink_ex447', 'udaya_a5-id2.yml', 'wallys_dr40x9', 'wallys_dr6018', 'wallys_dr6018_v4' ] steps: - uses: actions/checkout@v2 diff --git a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq5018-eww622-a1.dts b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq5018-eww622-a1.dts index bcc6e72fe..c029130da 100755 --- a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq5018-eww622-a1.dts +++ b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq5018-eww622-a1.dts @@ -32,6 +32,10 @@ serial1 = &blsp1_uart2; ethernet0 = "/soc/dp1"; ethernet1 = "/soc/dp2"; + led-boot = &led_sys; + led-failsafe = &led_sys; + led-running = &led_sys; + led-upgrade = &led_sys; }; chosen { @@ -708,32 +712,20 @@ pinctrl-0 = <&leds_pins>; pinctrl-names = "default"; - led@1 { + led_sys: led@1 { label = "sys:blue"; gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>; /* GPIO_1 */ - /* default-state="on"; */ - linux,default-trigger = "timer"; - active-delay = <700>; - inactive-delay = <700>; default-state="on"; }; led@35 { label = "sys:green"; gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>; /* GPIO_35 */ default-state="off"; - /* linux,default-trigger = "timer"; - active-delay = <700>; - inactive-delay = <700>; - default-state="on"; */ }; led@31 { label = "sys:red"; gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>; /* GPIO_31 */ default-state="off"; - /* linux,default-trigger = "timer"; - active-delay = <700>; - inactive-delay = <700>; - default-state="on"; */ }; }; };