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 {
39 usbphy: phy@01c13400 {
40 usb1_vbus-supply = <®_usb1_vbus>;
41 usb2_vbus-supply = <®_usb2_vbus>;
61 pio: pinctrl@01c20800 {
62 pinctrl-names = "default";
63 pinctrl-0 = <&hackberry_hogs>;
65 hackberry_hogs: hogs@0 {
66 allwinner,pins = "PH19";
67 allwinner,function = "gpio_out";
68 allwinner,drive = <0>;
72 usb2_vbus_pin_hackberry: usb2_vbus_pin@0 {
73 allwinner,pins = "PH12";
74 allwinner,function = "gpio_out";
75 allwinner,drive = <0>;
80 uart0: serial@01c28000 {
81 pinctrl-names = "default";
82 pinctrl-0 = <&uart0_pins_a>;
87 reg_emac_3v3: emac-3v3 {
88 compatible = "regulator-fixed";
89 regulator-name = "emac-3v3";
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
96 reg_usb1_vbus: usb1-vbus {
100 reg_usb2_vbus: usb2-vbus {
101 pinctrl-0 = <&usb2_vbus_pin_hackberry>;
102 gpio = <&pio 7 12 0>;