]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/sun4i-a10-hackberry.dts
Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux...
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / sun4i-a10-hackberry.dts
1 /*
2 * Copyright 2012 Maxime Ripard
3 *
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
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
17 / {
18 model = "Miniand Hackberry";
19 compatible = "miniand,hackberry", "allwinner,sun4i-a10";
20
21 soc@01c00000 {
22 emac: ethernet@01c0b000 {
23 pinctrl-names = "default";
24 pinctrl-0 = <&emac_pins_a>;
25 phy = <&phy0>;
26 status = "okay";
27 };
28
29 mdio@01c0b080 {
30 phy-supply = <&reg_emac_3v3>;
31 status = "okay";
32
33 phy0: ethernet-phy@0 {
34 reg = <0>;
35 };
36 };
37
38 pio: pinctrl@01c20800 {
39 pinctrl-names = "default";
40 pinctrl-0 = <&hackberry_hogs>;
41
42 hackberry_hogs: hogs@0 {
43 allwinner,pins = "PH19";
44 allwinner,function = "gpio_out";
45 allwinner,drive = <0>;
46 allwinner,pull = <0>;
47 };
48 };
49
50 uart0: serial@01c28000 {
51 pinctrl-names = "default";
52 pinctrl-0 = <&uart0_pins_a>;
53 status = "okay";
54 };
55 };
56
57 regulators {
58 compatible = "simple-bus";
59
60 reg_emac_3v3: emac-3v3 {
61 compatible = "regulator-fixed";
62 regulator-name = "emac-3v3";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
65 enable-active-high;
66 gpio = <&pio 7 19 0>;
67 };
68 };
69 };