ARM: dts: sun5i: Stop using different compatibles for ehci/ohci on a13 vs a10s
authorHans de Goede <hdegoede@redhat.com>
Sat, 7 Mar 2015 19:01:19 +0000 (20:01 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 27 Apr 2015 06:20:25 +0000 (08:20 +0200)
The A13 and the A10s use the same die (this has been confirmed by Allwinner),
as such there is no need to differentiate between the ehci/ohci parts of both,
the only reasons there were different allwinner,sun5i-a*-foo compatible
between these 2 parts is costemetically and because we could when we still
had 2 completely different dtsi files.

The allwinner,sun5i-a*-foo compatible strings are not used for binding at all,
the actual driver binds to the generic-?hci compatible, so we can safely remove
this cosmetical difference and simplify the dtsi files.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-a10s.dtsi
arch/arm/boot/dts/sun5i-a13.dtsi
arch/arm/boot/dts/sun5i.dtsi

index ef516db..a78c95d 100644 (file)
        };
 };
 
-&ehci0 {
-       compatible = "allwinner,sun5i-a10s-ehci", "generic-ehci";
-};
-
-&ohci0 {
-       compatible = "allwinner,sun5i-a10s-ohci", "generic-ohci";
-};
-
 &pio {
        compatible = "allwinner,sun5i-a10s-pinctrl";
 
index 39264f7..0188dee 100644 (file)
        cooling-max-level = <5>;
 };
 
-&ehci0 {
-       compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
-};
-
-&ohci0 {
-       compatible = "allwinner,sun5i-a13-ohci", "generic-ohci";
-};
-
 &pio {
        compatible = "allwinner,sun5i-a13-pinctrl";
 
index e42cbb0..343ba11 100644 (file)
                };
 
                ehci0: usb@01c14000 {
+                       compatible = "allwinner,sun5i-a13-ehci", "generic-ehci";
                        reg = <0x01c14000 0x100>;
                        interrupts = <39>;
                        clocks = <&ahb_gates 1>;
                };
 
                ohci0: usb@01c14400 {
+                       compatible = "allwinner,sun5i-a13-ohci", "generic-ohci";
                        reg = <0x01c14400 0x100>;
                        interrupts = <40>;
                        clocks = <&usb_clk 6>, <&ahb_gates 2>;