diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2014-03-06 00:09:30 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2014-03-06 00:09:30 +0000 |
commit | ac4b9dbb3c9b056008e00ee3d02fe3dad65641b7 (patch) | |
tree | ef1ef8907c63a75c4ac441f8c95325a6d5abb9ec /target/linux/sunxi/patches-3.13/232-dt-sunxi-change-to-new-net-compats.patch | |
parent | 2c771cc71f3b6aceda5fe81f44a79b724e0941d0 (diff) | |
download | upstream-ac4b9dbb3c9b056008e00ee3d02fe3dad65641b7.tar.gz upstream-ac4b9dbb3c9b056008e00ee3d02fe3dad65641b7.tar.bz2 upstream-ac4b9dbb3c9b056008e00ee3d02fe3dad65641b7.zip |
sunxi: driver refresh for 3.13 - update gmac / mmc / usb / ahci drivers to follow mainline dev trees - add driver for spi - update clock support - update a31 support - move to new DT compats where appropriate - re-order patchqueue where needed - verified working a20 smp - move most DTSes off files/ - update defconfig
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39782
Diffstat (limited to 'target/linux/sunxi/patches-3.13/232-dt-sunxi-change-to-new-net-compats.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.13/232-dt-sunxi-change-to-new-net-compats.patch | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.13/232-dt-sunxi-change-to-new-net-compats.patch b/target/linux/sunxi/patches-3.13/232-dt-sunxi-change-to-new-net-compats.patch new file mode 100644 index 0000000000..83b6702357 --- /dev/null +++ b/target/linux/sunxi/patches-3.13/232-dt-sunxi-change-to-new-net-compats.patch @@ -0,0 +1,85 @@ +From 1c70e099ac80ee779ffac66a6169ad936425fe41 Mon Sep 17 00:00:00 2001 +From: Maxime Ripard <maxime.ripard@free-electrons.com> +Date: Sun, 2 Feb 2014 14:49:13 +0100 +Subject: [PATCH] ARM: sunxi: dt: Convert to the new net compatibles + +Switch the device tree to the new compatibles introduced in the ethernet and +mdio drivers to have a common pattern accross all Allwinner SoCs. + +Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> +Signed-off-by: David S. Miller <davem@davemloft.net> +--- + arch/arm/boot/dts/sun4i-a10.dtsi | 4 ++-- + arch/arm/boot/dts/sun5i-a10s.dtsi | 4 ++-- + arch/arm/boot/dts/sun7i-a20.dtsi | 4 ++-- + 3 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi +index 040bb0e..10666ca 100644 +--- a/arch/arm/boot/dts/sun4i-a10.dtsi ++++ b/arch/arm/boot/dts/sun4i-a10.dtsi +@@ -315,7 +315,7 @@ + ranges; + + emac: ethernet@01c0b000 { +- compatible = "allwinner,sun4i-emac"; ++ compatible = "allwinner,sun4i-a10-emac"; + reg = <0x01c0b000 0x1000>; + interrupts = <55>; + clocks = <&ahb_gates 17>; +@@ -323,7 +323,7 @@ + }; + + mdio@01c0b080 { +- compatible = "allwinner,sun4i-mdio"; ++ compatible = "allwinner,sun4i-a10-mdio"; + reg = <0x01c0b080 0x14>; + status = "disabled"; + #address-cells = <1>; +diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi +index ea16054..6496159 100644 +--- a/arch/arm/boot/dts/sun5i-a10s.dtsi ++++ b/arch/arm/boot/dts/sun5i-a10s.dtsi +@@ -278,7 +278,7 @@ + ranges; + + emac: ethernet@01c0b000 { +- compatible = "allwinner,sun4i-emac"; ++ compatible = "allwinner,sun4i-a10-emac"; + reg = <0x01c0b000 0x1000>; + interrupts = <55>; + clocks = <&ahb_gates 17>; +@@ -286,7 +286,7 @@ + }; + + mdio@01c0b080 { +- compatible = "allwinner,sun4i-mdio"; ++ compatible = "allwinner,sun4i-a10-mdio"; + reg = <0x01c0b080 0x14>; + status = "disabled"; + #address-cells = <1>; +diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi +index 119f066..9ff0948 100644 +--- a/arch/arm/boot/dts/sun7i-a20.dtsi ++++ b/arch/arm/boot/dts/sun7i-a20.dtsi +@@ -340,7 +340,7 @@ + ranges; + + emac: ethernet@01c0b000 { +- compatible = "allwinner,sun4i-emac"; ++ compatible = "allwinner,sun4i-a10-emac"; + reg = <0x01c0b000 0x1000>; + interrupts = <0 55 4>; + clocks = <&ahb_gates 17>; +@@ -348,7 +348,7 @@ + }; + + mdio@01c0b080 { +- compatible = "allwinner,sun4i-mdio"; ++ compatible = "allwinner,sun4i-a10-mdio"; + reg = <0x01c0b080 0x14>; + status = "disabled"; + #address-cells = <1>; +-- +1.8.5.5 + |