aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Byshko <rbyshko@gmail.com>2014-03-01 14:26:26 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-03-04 11:44:43 -0500
commit2428b6c3eeea950b0b41808086b04591b94ea891 (patch)
tree97946e66d8ce8bcb14227596e035d3c362ee12e6
parent9debd0a2af9335900e4cc6fb1ed75ea467bb5c30 (diff)
ARM: sun4i: dt: Add USB host nodes to Mele A1000 dts
Add nodes for the usb-phy and ehci- and ohci-usb-host controllers. Signed-off-by: Roman Byshko <rbyshko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun4i-a10-a1000.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts
index d6ec8399ead0..fa746aea5e66 100644
--- a/arch/arm/boot/dts/sun4i-a10-a1000.dts
+++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts
@@ -13,6 +13,7 @@
13 13
14/dts-v1/; 14/dts-v1/;
15/include/ "sun4i-a10.dtsi" 15/include/ "sun4i-a10.dtsi"
16/include/ "sunxi-common-regulators.dtsi"
16 17
17/ { 18/ {
18 model = "Mele A1000"; 19 model = "Mele A1000";
@@ -35,10 +36,32 @@
35 }; 36 };
36 }; 37 };
37 38
39 usbphy: phy@01c13400 {
40 usb1_vbus-supply = <&reg_usb1_vbus>;
41 usb2_vbus-supply = <&reg_usb2_vbus>;
42 status = "okay";
43 };
44
45 ehci0: usb@01c14000 {
46 status = "okay";
47 };
48
49 ohci0: usb@01c14400 {
50 status = "okay";
51 };
52
38 ahci: sata@01c18000 { 53 ahci: sata@01c18000 {
39 status = "okay"; 54 status = "okay";
40 }; 55 };
41 56
57 ehci1: usb@01c1c000 {
58 status = "okay";
59 };
60
61 ohci1: usb@01c1c400 {
62 status = "okay";
63 };
64
42 pinctrl@01c20800 { 65 pinctrl@01c20800 {
43 emac_power_pin_a1000: emac_power_pin@0 { 66 emac_power_pin_a1000: emac_power_pin@0 {
44 allwinner,pins = "PH15"; 67 allwinner,pins = "PH15";
@@ -94,4 +117,12 @@
94 enable-active-high; 117 enable-active-high;
95 gpio = <&pio 7 15 0>; 118 gpio = <&pio 7 15 0>;
96 }; 119 };
120
121 reg_usb1_vbus: usb1-vbus {
122 status = "okay";
123 };
124
125 reg_usb2_vbus: usb2-vbus {
126 status = "okay";
127 };
97}; 128};