From bd8651a5ba9c806f26767e1fa5d9b5556a09ffad Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Tue, 13 Jul 2021 11:12:28 +0800 Subject: [PATCH] Update qcom-ipq4019-z4019.dts --- .../arch/arm/boot/dts/qcom-ipq4019-z4019.dts | 42 ++++++++++++++++++- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-z4019.dts b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-z4019.dts index 56516327..cba5a26b 100644 --- a/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-z4019.dts +++ b/root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-z4019.dts @@ -102,7 +102,45 @@ }; ess-switch@c000000 { - status = "okay"; + switch_mac_mode = <0x0>; /* mac mode for RGMII RMII */ + switch_initvlas = < + 0x0007c 0x54 /* PORT0_STATUS */ + >; + led_source@0 { + led = <0x3>; /*led number */ + source = <0x1>; /*source id 1 */ + mode = "normal"; /*on,off,blink,normal */ + speed = "all"; /*10M,100M,1000M,all */ + freq = "auto"; /*2Hz,4Hz,8Hz,auto*/ + }; + led_source@1 { + led = <0x4>; /*led number */ + source = <0x4>; /*source id 4 */ + mode = "normal"; /*on,off,blink,normal */ + speed = "all"; /*10M,100M,1000M,all */ + freq = "auto"; /*2Hz,4Hz,8Hz,auto*/ + }; + led_source@2 { + led = <0x5>; /*led number */ + source = <0x7>; /*source id 7 */ + mode = "normal"; /*on,off,blink,normal */ + speed = "all"; /*10M,100M,1000M,all */ + freq = "auto"; /*2Hz,4Hz,8Hz,auto*/ + }; + led_source@3 { + led = <0x6>; /*led number */ + source = <0xa>; /*source id 10 */ + mode = "normal"; /*on,off,blink,normal */ + speed = "all"; /*10M,100M,1000M,all */ + freq = "auto"; /*2Hz,4Hz,8Hz,auto*/ + }; + led_source@4 { + led = <0x7>; /*led number */ + source = <0xd>; /*source id 13 */ + mode = "normal"; /*on,off,blink,normal */ + speed = "all"; /*10M,100M,1000M,all */ + freq = "auto"; /*2Hz,4Hz,8Hz,auto*/ + }; }; edma@c080000 { @@ -378,7 +416,7 @@ &pcie0 { status = "okay"; - rerst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>; + perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>; wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>; };