Zoltan HERPAI | 7f624ce | 2014-01-13 14:15:01 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Zoltan HERPAI |
| 3 | * Zoltan HERPAI <wigyori@uid0.hu> |
| 4 | * |
| 5 | * The code contained herein is licensed under the GNU General Public |
| 6 | * License. You may obtain a copy of the GNU General Public License |
| 7 | * Version 2 or later at the following locations: |
| 8 | * |
| 9 | * http://www.opensource.org/licenses/gpl-license.html |
| 10 | * http://www.gnu.org/copyleft/gpl.html |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | /include/ "sun4i-a10.dtsi" |
Hans de Goede | 77978a3 | 2014-03-01 20:26:30 +0100 | [diff] [blame] | 15 | /include/ "sunxi-common-regulators.dtsi" |
Zoltan HERPAI | 7f624ce | 2014-01-13 14:15:01 +0100 | [diff] [blame] | 16 | |
| 17 | / { |
| 18 | model = "LinkSprite pcDuino"; |
| 19 | compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10"; |
| 20 | |
| 21 | soc@01c00000 { |
| 22 | emac: ethernet@01c0b000 { |
| 23 | pinctrl-names = "default"; |
| 24 | pinctrl-0 = <&emac_pins_a>; |
| 25 | phy = <&phy1>; |
| 26 | status = "okay"; |
| 27 | }; |
| 28 | |
| 29 | mdio@01c0b080 { |
| 30 | status = "okay"; |
| 31 | |
| 32 | phy1: ethernet-phy@1 { |
| 33 | reg = <1>; |
| 34 | }; |
| 35 | }; |
| 36 | |
Hans de Goede | c0955a8 | 2014-05-02 17:57:20 +0200 | [diff] [blame] | 37 | mmc0: mmc@01c0f000 { |
| 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; |
Hans de Goede | a4da476 | 2014-05-11 09:46:54 +0200 | [diff] [blame^] | 40 | vmmc-supply = <®_vcc3v3>; |
Hans de Goede | c0955a8 | 2014-05-02 17:57:20 +0200 | [diff] [blame] | 41 | bus-width = <4>; |
| 42 | cd-gpios = <&pio 7 1 0>; /* PH1 */ |
| 43 | cd-inverted; |
| 44 | status = "okay"; |
| 45 | }; |
| 46 | |
Hans de Goede | 77978a3 | 2014-03-01 20:26:30 +0100 | [diff] [blame] | 47 | usbphy: phy@01c13400 { |
| 48 | usb1_vbus-supply = <®_usb1_vbus>; |
| 49 | usb2_vbus-supply = <®_usb2_vbus>; |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | ehci0: usb@01c14000 { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | ohci0: usb@01c14400 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | ehci1: usb@01c1c000 { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | ohci1: usb@01c1c400 { |
| 66 | status = "okay"; |
| 67 | }; |
| 68 | |
Zoltan HERPAI | 7f624ce | 2014-01-13 14:15:01 +0100 | [diff] [blame] | 69 | uart0: serial@01c28000 { |
| 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&uart0_pins_a>; |
| 72 | status = "okay"; |
| 73 | }; |
| 74 | |
| 75 | i2c0: i2c@01c2ac00 { |
| 76 | pinctrl-names = "default"; |
| 77 | pinctrl-0 = <&i2c0_pins_a>; |
| 78 | status = "okay"; |
| 79 | }; |
| 80 | }; |
Hans de Goede | 77978a3 | 2014-03-01 20:26:30 +0100 | [diff] [blame] | 81 | |
| 82 | reg_usb1_vbus: usb1-vbus { |
| 83 | status = "okay"; |
| 84 | }; |
| 85 | |
| 86 | reg_usb2_vbus: usb2-vbus { |
| 87 | status = "okay"; |
| 88 | }; |
Zoltan HERPAI | 7f624ce | 2014-01-13 14:15:01 +0100 | [diff] [blame] | 89 | }; |