2 * Copyright 2012 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
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:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
15 /include/ "sun4i-a10.dtsi"
16 /include/ "sunxi-common-regulators.dtsi"
19 model = "Miniand Hackberry";
20 compatible = "miniand,hackberry", "allwinner,sun4i-a10";
23 emac: ethernet@01c0b000 {
24 pinctrl-names = "default";
25 pinctrl-0 = <&emac_pins_a>;
31 phy-supply = <®_emac_3v3>;
34 phy0: ethernet-phy@0 {
40 pinctrl-names = "default";
41 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
42 vmmc-supply = <®_vcc3v3>;
44 cd-gpios = <&pio 7 1 0>; /* PH1 */
49 usbphy: phy@01c13400 {
50 usb1_vbus-supply = <®_usb1_vbus>;
51 usb2_vbus-supply = <®_usb2_vbus>;
71 pio: pinctrl@01c20800 {
72 pinctrl-names = "default";
73 pinctrl-0 = <&hackberry_hogs>;
75 hackberry_hogs: hogs@0 {
76 allwinner,pins = "PH19";
77 allwinner,function = "gpio_out";
78 allwinner,drive = <0>;
82 usb2_vbus_pin_hackberry: usb2_vbus_pin@0 {
83 allwinner,pins = "PH12";
84 allwinner,function = "gpio_out";
85 allwinner,drive = <0>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&ir0_pins_a>;
96 uart0: serial@01c28000 {
97 pinctrl-names = "default";
98 pinctrl-0 = <&uart0_pins_a>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&i2c0_pins_a>;
108 compatible = "x-powers,axp209";
112 interrupt-controller;
113 #interrupt-cells = <1>;
118 reg_emac_3v3: emac-3v3 {
119 compatible = "regulator-fixed";
120 regulator-name = "emac-3v3";
121 regulator-min-microvolt = <3300000>;
122 regulator-max-microvolt = <3300000>;
124 gpio = <&pio 7 19 0>;
127 reg_usb1_vbus: usb1-vbus {
131 reg_usb2_vbus: usb2-vbus {
132 pinctrl-0 = <&usb2_vbus_pin_hackberry>;
133 gpio = <&pio 7 12 0>;