Skip to content

Commit aa343c0

Browse files
David Lanzendörferpstglia
authored andcommitted
ARM: sun4i: dt: Add support for the INet-97F_Rev_02 board
This patch adds basic support for the INet-97F_Rev_02 board found in various low cost consumer tablet devices (http://linux-sunxi.org/INet-97F_Rev_02) Signed-off-by: David Lanzendörfer <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
1 parent 4c0999e commit aa343c0

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

arch/arm/boot/dts/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += \
350350
sun4i-a10-cubieboard.dtb \
351351
sun4i-a10-mini-xplus.dtb \
352352
sun4i-a10-hackberry.dtb \
353+
sun4i-a10-inet97fv2.dtb \
353354
sun4i-a10-olinuxino-lime.dtb \
354355
sun4i-a10-pcduino.dtb \
355356
sun5i-a10s-olinuxino-micro.dtb \
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* Copyright 2014 Open Source Support GmbH
3+
*
4+
* David Lanzend�rfer <[email protected]>
5+
*
6+
* The code contained herein is licensed under the GNU General Public
7+
* License. You may obtain a copy of the GNU General Public License
8+
* Version 2 or later at the following locations:
9+
*
10+
* http://www.opensource.org/licenses/gpl-license.html
11+
* http://www.gnu.org/copyleft/gpl.html
12+
*/
13+
14+
/dts-v1/;
15+
/include/ "sun4i-a10.dtsi"
16+
/include/ "sunxi-common-regulators.dtsi"
17+
18+
/ {
19+
model = "INet-97F Rev 02";
20+
compatible = "primux,inet97fv2", "allwinner,sun4i-a10";
21+
22+
aliases {
23+
serial0 = &uart0;
24+
};
25+
26+
soc@01c00000 {
27+
uart0: serial@01c28000 {
28+
pinctrl-names = "default";
29+
pinctrl-0 = <&uart0_pins_a>;
30+
status = "okay";
31+
};
32+
33+
i2c0: i2c@01c2ac00 {
34+
pinctrl-names = "default";
35+
pinctrl-0 = <&i2c0_pins_a>;
36+
status = "okay";
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+
53+
ehci1: usb@01c1c000 {
54+
status = "okay";
55+
};
56+
57+
ohci1: usb@01c1c400 {
58+
status = "okay";
59+
};
60+
};
61+
62+
reg_usb1_vbus: usb1-vbus {
63+
status = "okay";
64+
};
65+
66+
reg_usb2_vbus: usb2-vbus {
67+
status = "okay";
68+
};
69+
};

0 commit comments

Comments
 (0)