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

arm: sunxi: Revert changes merged through net-next.

This reverts commits 2c0cba482e79 ("arm: sun8i: sunxi-h3-h5: Add dt node
for the syscon control module") to 2428fd0fe550 ("arm64: defconfig: Enable
dwmac-sun8i driver on defconfig") and 3432a86e641c ("arm: sun8i:
orangepipc: use internal phy-mode") to 5a79b4f2a5e7 ("arm: sun8i:
orangepi-2: use internal phy-mode") that should be merged
through the arm-soc tree, and end up in merge conflicts and build failures.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Maxime Ripard and committed by
David S. Miller
9d46b770 f1efece4

+1 -175
-8
arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
··· 57 57 aliases { 58 58 serial0 = &uart0; 59 59 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ 60 - ethernet0 = &emac; 61 60 ethernet1 = &xr819; 62 61 }; 63 62 ··· 100 101 }; 101 102 102 103 &ehci1 { 103 - status = "okay"; 104 - }; 105 - 106 - &emac { 107 - phy-handle = <&int_mii_phy>; 108 - phy-mode = "internal"; 109 - allwinner,leds-active-low; 110 104 status = "okay"; 111 105 }; 112 106
-7
arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
··· 46 46 model = "FriendlyARM NanoPi NEO"; 47 47 compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3"; 48 48 }; 49 - 50 - &emac { 51 - phy-handle = <&int_mii_phy>; 52 - phy-mode = "internal"; 53 - allwinner,leds-active-low; 54 - status = "okay"; 55 - };
-8
arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
··· 54 54 aliases { 55 55 serial0 = &uart0; 56 56 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ 57 - ethernet0 = &emac; 58 57 ethernet1 = &rtl8189; 59 58 }; 60 59 ··· 105 106 }; 106 107 107 108 &ehci1 { 108 - status = "okay"; 109 - }; 110 - 111 - &emac { 112 - phy-handle = <&int_mii_phy>; 113 - phy-mode = "internal"; 114 - allwinner,leds-active-low; 115 109 status = "okay"; 116 110 }; 117 111
-8
arch/arm/boot/dts/sun8i-h3-orangepi-one.dts
··· 52 52 compatible = "xunlong,orangepi-one", "allwinner,sun8i-h3"; 53 53 54 54 aliases { 55 - ethernet0 = &emac; 56 55 serial0 = &uart0; 57 56 }; 58 57 ··· 94 95 }; 95 96 96 97 &ehci1 { 97 - status = "okay"; 98 - }; 99 - 100 - &emac { 101 - phy-handle = <&int_mii_phy>; 102 - phy-mode = "internal"; 103 - allwinner,leds-active-low; 104 98 status = "okay"; 105 99 }; 106 100
-5
arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
··· 53 53 }; 54 54 }; 55 55 56 - &emac { 57 - /* LEDs changed to active high on the plus */ 58 - /delete-property/ allwinner,leds-active-low; 59 - }; 60 - 61 56 &mmc1 { 62 57 pinctrl-names = "default"; 63 58 pinctrl-0 = <&mmc1_pins_a>;
-8
arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
··· 52 52 compatible = "xunlong,orangepi-pc", "allwinner,sun8i-h3"; 53 53 54 54 aliases { 55 - ethernet0 = &emac; 56 55 serial0 = &uart0; 57 56 }; 58 57 ··· 106 107 }; 107 108 108 109 &ehci3 { 109 - status = "okay"; 110 - }; 111 - 112 - &emac { 113 - phy-handle = <&int_mii_phy>; 114 - phy-mode = "internal"; 115 - allwinner,leds-active-low; 116 110 status = "okay"; 117 111 }; 118 112
-40
arch/arm/boot/dts/sunxi-h3-h5.dtsi
··· 83 83 #size-cells = <1>; 84 84 ranges; 85 85 86 - syscon: syscon@1c00000 { 87 - compatible = "allwinner,sun8i-h3-system-controller", 88 - "syscon"; 89 - reg = <0x01c00000 0x1000>; 90 - }; 91 - 92 86 dma: dma-controller@01c02000 { 93 87 compatible = "allwinner,sun8i-h3-dma"; 94 88 reg = <0x01c02000 0x1000>; ··· 279 285 interrupt-controller; 280 286 #interrupt-cells = <3>; 281 287 282 - emac_rgmii_pins: emac0 { 283 - pins = "PD0", "PD1", "PD2", "PD3", "PD4", 284 - "PD5", "PD7", "PD8", "PD9", "PD10", 285 - "PD12", "PD13", "PD15", "PD16", "PD17"; 286 - function = "emac"; 287 - drive-strength = <40>; 288 - }; 289 - 290 288 i2c0_pins: i2c0 { 291 289 pins = "PA11", "PA12"; 292 290 function = "i2c0"; ··· 373 387 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 374 388 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 375 389 clocks = <&osc24M>; 376 - }; 377 - 378 - emac: ethernet@1c30000 { 379 - compatible = "allwinner,sun8i-h3-emac"; 380 - syscon = <&syscon>; 381 - reg = <0x01c30000 0x104>; 382 - interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 383 - interrupt-names = "macirq"; 384 - resets = <&ccu RST_BUS_EMAC>; 385 - reset-names = "stmmaceth"; 386 - clocks = <&ccu CLK_BUS_EMAC>; 387 - clock-names = "stmmaceth"; 388 - #address-cells = <1>; 389 - #size-cells = <0>; 390 - status = "disabled"; 391 - 392 - mdio: mdio { 393 - #address-cells = <1>; 394 - #size-cells = <0>; 395 - int_mii_phy: ethernet-phy@1 { 396 - compatible = "ethernet-phy-ieee802.3-c22"; 397 - reg = <1>; 398 - clocks = <&ccu CLK_BUS_EPHY>; 399 - resets = <&ccu RST_BUS_EPHY>; 400 - }; 401 - }; 402 390 }; 403 391 404 392 spi0: spi@01c68000 {
-1
arch/arm/configs/multi_v7_defconfig
··· 257 257 CONFIG_STMMAC_ETH=y 258 258 CONFIG_STMMAC_PLATFORM=y 259 259 CONFIG_DWMAC_DWC_QOS_ETH=y 260 - CONFIG_DWMAC_SUN8I=y 261 260 CONFIG_TI_CPSW=y 262 261 CONFIG_XILINX_EMACLITE=y 263 262 CONFIG_AT803X_PHY=y
-1
arch/arm/configs/sunxi_defconfig
··· 40 40 CONFIG_AHCI_SUNXI=y 41 41 CONFIG_NETDEVICES=y 42 42 CONFIG_SUN4I_EMAC=y 43 - CONFIG_DWMAC_SUN8I=y 44 43 # CONFIG_NET_VENDOR_ARC is not set 45 44 # CONFIG_NET_CADENCE is not set 46 45 # CONFIG_NET_VENDOR_BROADCOM is not set
-15
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
··· 67 67 }; 68 68 }; 69 69 70 - &emac { 71 - pinctrl-names = "default"; 72 - pinctrl-0 = <&rgmii_pins>; 73 - phy-mode = "rgmii"; 74 - phy-handle = <&ext_rgmii_phy>; 75 - status = "okay"; 76 - }; 77 - 78 70 &i2c1 { 79 71 pinctrl-names = "default"; 80 72 pinctrl-0 = <&i2c1_pins>; ··· 75 83 76 84 &i2c1_pins { 77 85 bias-pull-up; 78 - }; 79 - 80 - &mdio { 81 - ext_rgmii_phy: ethernet-phy@1 { 82 - compatible = "ethernet-phy-ieee802.3-c22"; 83 - reg = <1>; 84 - }; 85 86 }; 86 87 87 88 &mmc0 {
+1 -16
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts
··· 46 46 model = "Pine64+"; 47 47 compatible = "pine64,pine64-plus", "allwinner,sun50i-a64"; 48 48 49 - /* TODO: Camera, touchscreen, etc. */ 50 - }; 51 - 52 - &emac { 53 - pinctrl-names = "default"; 54 - pinctrl-0 = <&rgmii_pins>; 55 - phy-mode = "rgmii"; 56 - phy-handle = <&ext_rgmii_phy>; 57 - status = "okay"; 58 - }; 59 - 60 - &mdio { 61 - ext_rgmii_phy: ethernet-phy@1 { 62 - compatible = "ethernet-phy-ieee802.3-c22"; 63 - reg = <1>; 64 - }; 49 + /* TODO: Camera, Ethernet PHY, touchscreen, etc. */ 65 50 };
-16
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
··· 70 70 status = "okay"; 71 71 }; 72 72 73 - &emac { 74 - pinctrl-names = "default"; 75 - pinctrl-0 = <&rmii_pins>; 76 - phy-mode = "rmii"; 77 - phy-handle = <&ext_rmii_phy1>; 78 - status = "okay"; 79 - 80 - }; 81 - 82 73 &i2c1 { 83 74 pinctrl-names = "default"; 84 75 pinctrl-0 = <&i2c1_pins>; ··· 78 87 79 88 &i2c1_pins { 80 89 bias-pull-up; 81 - }; 82 - 83 - &mdio { 84 - ext_rmii_phy1: ethernet-phy@1 { 85 - compatible = "ethernet-phy-ieee802.3-c22"; 86 - reg = <1>; 87 - }; 88 90 }; 89 91 90 92 &mmc0 {
-41
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
··· 129 129 #size-cells = <1>; 130 130 ranges; 131 131 132 - syscon: syscon@1c00000 { 133 - compatible = "allwinner,sun50i-a64-system-controller", 134 - "syscon"; 135 - reg = <0x01c00000 0x1000>; 136 - }; 137 - 138 132 mmc0: mmc@1c0f000 { 139 133 compatible = "allwinner,sun50i-a64-mmc"; 140 134 reg = <0x01c0f000 0x1000>; ··· 281 287 bias-pull-up; 282 288 }; 283 289 284 - rmii_pins: rmii_pins { 285 - pins = "PD10", "PD11", "PD13", "PD14", "PD17", 286 - "PD18", "PD19", "PD20", "PD22", "PD23"; 287 - function = "emac"; 288 - drive-strength = <40>; 289 - }; 290 - 291 - rgmii_pins: rgmii_pins { 292 - pins = "PD8", "PD9", "PD10", "PD11", "PD12", 293 - "PD13", "PD15", "PD16", "PD17", "PD18", 294 - "PD19", "PD20", "PD21", "PD22", "PD23"; 295 - function = "emac"; 296 - drive-strength = <40>; 297 - }; 298 - 299 290 uart0_pins_a: uart0@0 { 300 291 pins = "PB8", "PB9"; 301 292 function = "uart0"; ··· 383 404 status = "disabled"; 384 405 #address-cells = <1>; 385 406 #size-cells = <0>; 386 - }; 387 - 388 - emac: ethernet@1c30000 { 389 - compatible = "allwinner,sun50i-a64-emac"; 390 - syscon = <&syscon>; 391 - reg = <0x01c30000 0x100>; 392 - interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 393 - interrupt-names = "macirq"; 394 - resets = <&ccu RST_BUS_EMAC>; 395 - reset-names = "stmmaceth"; 396 - clocks = <&ccu CLK_BUS_EMAC>; 397 - clock-names = "stmmaceth"; 398 - status = "disabled"; 399 - #address-cells = <1>; 400 - #size-cells = <0>; 401 - 402 - mdio: mdio { 403 - #address-cells = <1>; 404 - #size-cells = <0>; 405 - }; 406 407 }; 407 408 408 409 gic: interrupt-controller@1c81000 {
-1
arch/arm64/configs/defconfig
··· 191 191 CONFIG_SMC91X=y 192 192 CONFIG_SMSC911X=y 193 193 CONFIG_STMMAC_ETH=m 194 - CONFIG_DWMAC_SUN8I=m 195 194 CONFIG_MDIO_BUS_MUX_MMIOREG=y 196 195 CONFIG_MESON_GXL_PHY=m 197 196 CONFIG_MICREL_PHY=y