Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: ZII: Disable HW Ethernet switch reset GPIOs

Disable Ethernet switch reset GPIO with ZII platforms that have it
enabled. HW switch reset results in a reset of the copper PHYs
inside of the switch. We want to avoid this reset of the copper PHYs
in the switch as this results in unnecessary broader network disruption on
a soft reboot of the application processor.

With the HW GPIO removed, the switch driver still performs a soft reset of
the switch core which has been shown to sufficiently meet our needs with
other ZII platforms that do not have the HW switch reset GPIO defined.

Signed-off-by: Chris Healy <cphealy@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Chris Healy and committed by
Shawn Guo
f7e630bc 383689f4

-8
-2
arch/arm/boot/dts/vf610-zii-cfu1.dts
··· 172 172 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 173 173 interrupt-controller; 174 174 #interrupt-cells = <2>; 175 - reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; 176 175 177 176 ports { 178 177 #address-cells = <1>; ··· 355 356 pinctrl_switch: switch-grp { 356 357 fsl,pins = < 357 358 VF610_PAD_PTB28__GPIO_98 0x3061 358 - VF610_PAD_PTE2__GPIO_107 0x1042 359 359 >; 360 360 }; 361 361
-2
arch/arm/boot/dts/vf610-zii-spb4.dts
··· 129 129 pinctrl-names = "default"; 130 130 reg = <0>; 131 131 eeprom-length = <65536>; 132 - reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; 133 132 interrupt-parent = <&gpio3>; 134 133 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 135 134 interrupt-controller; ··· 325 326 326 327 pinctrl_gpio_switch0: pinctrl-gpio-switch0 { 327 328 fsl,pins = < 328 - VF610_PAD_PTE2__GPIO_107 0x31c2 329 329 VF610_PAD_PTB28__GPIO_98 0x219d 330 330 >; 331 331 };
-2
arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts
··· 118 118 pinctrl-names = "default"; 119 119 reg = <0>; 120 120 eeprom-length = <65536>; 121 - reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; 122 121 interrupt-parent = <&gpio3>; 123 122 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 124 123 interrupt-controller; ··· 292 293 293 294 pinctrl_gpio_switch0: pinctrl-gpio-switch0 { 294 295 fsl,pins = < 295 - VF610_PAD_PTE2__GPIO_107 0x31c2 296 296 VF610_PAD_PTB28__GPIO_98 0x219d 297 297 >; 298 298 };
-2
arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts
··· 143 143 pinctrl-names = "default"; 144 144 reg = <0>; 145 145 eeprom-length = <65536>; 146 - reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; 147 146 interrupt-parent = <&gpio3>; 148 147 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 149 148 interrupt-controller; ··· 332 333 333 334 pinctrl_gpio_switch0: pinctrl-gpio-switch0 { 334 335 fsl,pins = < 335 - VF610_PAD_PTE2__GPIO_107 0x31c2 336 336 VF610_PAD_PTB28__GPIO_98 0x219d 337 337 >; 338 338 };