David Lanzendörfer | e231501 | 2014-03-01 20:26:38 +0100 | [diff] [blame] | 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 { |
Hans de Goede | c0955a8 | 2014-05-02 17:57:20 +0200 | [diff] [blame] | 27 | mmc0: mmc@01c0f000 { |
| 28 | pinctrl-names = "default"; |
| 29 | pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; |
Hans de Goede | a4da476 | 2014-05-11 09:46:54 +0200 | [diff] [blame] | 30 | vmmc-supply = <®_vcc3v3>; |
Hans de Goede | c0955a8 | 2014-05-02 17:57:20 +0200 | [diff] [blame] | 31 | bus-width = <4>; |
| 32 | cd-gpios = <&pio 7 1 0>; /* PH1 */ |
| 33 | cd-inverted; |
| 34 | status = "okay"; |
| 35 | }; |
| 36 | |
David Lanzendörfer | e231501 | 2014-03-01 20:26:38 +0100 | [diff] [blame] | 37 | uart0: serial@01c28000 { |
| 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&uart0_pins_a>; |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
David Lanzendörfer | e231501 | 2014-03-01 20:26:38 +0100 | [diff] [blame] | 43 | usbphy: phy@01c13400 { |
| 44 | usb1_vbus-supply = <®_usb1_vbus>; |
| 45 | usb2_vbus-supply = <®_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 | }; |
Carlo Caione | e288f1b | 2014-06-30 23:57:52 +0200 | [diff] [blame] | 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 | }; |
David Lanzendörfer | e231501 | 2014-03-01 20:26:38 +0100 | [diff] [blame] | 79 | }; |
| 80 | |
| 81 | reg_usb1_vbus: usb1-vbus { |
| 82 | status = "okay"; |
| 83 | }; |
| 84 | |
| 85 | reg_usb2_vbus: usb2-vbus { |
| 86 | status = "okay"; |
| 87 | }; |
| 88 | }; |