• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright 2014 Open Source Support GmbH
3 *
4 * David Lanzend�rfer <david.lanzendoerfer@o2s.ch>
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		mmc0: mmc@01c0f000 {
28			pinctrl-names = "default";
29			pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
30			vmmc-supply = <&reg_vcc3v3>;
31			bus-width = <4>;
32			cd-gpios = <&pio 7 1 0>; /* PH1 */
33			cd-inverted;
34			status = "okay";
35		};
36
37		uart0: serial@01c28000 {
38			pinctrl-names = "default";
39			pinctrl-0 = <&uart0_pins_a>;
40			status = "okay";
41		};
42
43		usbphy: phy@01c13400 {
44			usb1_vbus-supply = <&reg_usb1_vbus>;
45			usb2_vbus-supply = <&reg_usb2_vbus>;
46			status = "okay";
47		};
48
49		ehci0: usb@01c14000 {
50			status = "okay";
51		};
52
53		ohci0: usb@01c14400 {
54			status = "okay";
55		};
56
57		ehci1: usb@01c1c000 {
58			status = "okay";
59		};
60
61		ohci1: usb@01c1c400 {
62			status = "okay";
63		};
64
65		i2c0: i2c@01c2ac00 {
66			pinctrl-names = "default";
67			pinctrl-0 = <&i2c0_pins_a>;
68			status = "okay";
69
70			axp209: pmic@34 {
71				compatible = "x-powers,axp209";
72				reg = <0x34>;
73				interrupts = <0>;
74
75				interrupt-controller;
76				#interrupt-cells = <1>;
77			};
78		};
79	};
80
81	reg_usb1_vbus: usb1-vbus {
82		status = "okay";
83	};
84
85	reg_usb2_vbus: usb2-vbus {
86		status = "okay";
87	};
88};
89