Commit af79c4f15c248d1b3b0a41eb6437e7780e0fcee0

Authored by Hans de Goede
1 parent 9800cfce92

sunxi: dts: Add minimal dts files for board which lack a dts sofar

u-boot has support for a number of boards for which a dts file still needs
to be written, add minimal dts files for these boards so that we can switch
them over to driver-model / fdt.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

Showing 16 changed files with 553 additions and 2 deletions Side-by-side Diff

arch/arm/dts/Makefile
... ... @@ -65,6 +65,8 @@
65 65 sun4i-a10-gemei-g9.dtb \
66 66 sun4i-a10-hackberry.dtb \
67 67 sun4i-a10-hyundai-a7hd.dtb \
  68 + sun4i-a10-inet-3f.dtb \
  69 + sun4i-a10-inet-3w.dtb \
68 70 sun4i-a10-inet97fv2.dtb \
69 71 sun4i-a10-jesurun-q5.dtb \
70 72 sun4i-a10-marsboard.dtb \
71 73  
72 74  
... ... @@ -78,9 +80,13 @@
78 80 sun5i-a10s-mk802.dtb \
79 81 sun5i-a10s-olinuxino-micro.dtb \
80 82 sun5i-a10s-r7-tv-dongle.dtb \
  83 + sun5i-a13-ampe-a76.dtb \
  84 + sun5i-a13-forfun-q88db.dtb \
81 85 sun5i-a13-hsg-h702.dtb \
  86 + sun5i-a13-inet-86vs.dtb \
82 87 sun5i-a13-olinuxino.dtb \
83 88 sun5i-a13-olinuxino-micro.dtb \
  89 + sun5i-a13-tzx-q8-713b7.dtb \
84 90 sun5i-a13-utoo-p66.dtb
85 91 dtb-$(CONFIG_MACH_SUN6I) += \
86 92 sun6i-a31-app4-evb1.dtb \
87 93  
... ... @@ -88,8 +94,11 @@
88 94 sun6i-a31-hummingbird.dtb \
89 95 sun6i-a31-i7.dtb \
90 96 sun6i-a31-m9.dtb \
91   - sun6i-a31s-cs908.dtb
  97 + sun6i-a31-mixtile-loftq.dtb \
  98 + sun6i-a31s-cs908.dtb \
  99 + sun6i-a31s-primo81.dtb
92 100 dtb-$(CONFIG_MACH_SUN7I) += \
  101 + sun7i-a20-ainol-aw1.dtb \
93 102 sun7i-a20-bananapi.dtb \
94 103 sun7i-a20-bananapro.dtb \
95 104 sun7i-a20-cubieboard2.dtb \
... ... @@ -97,6 +106,8 @@
97 106 sun7i-a20-hummingbird.dtb \
98 107 sun7i-a20-i12-tvbox.dtb \
99 108 sun7i-a20-m3.dtb \
  109 + sun7i-a20-m5.dtb \
  110 + sun7i-a20-mk808c.dtb \
100 111 sun7i-a20-olinuxino-lime.dtb \
101 112 sun7i-a20-olinuxino-lime2.dtb \
102 113 sun7i-a20-olinuxino-micro.dtb \
103 114  
... ... @@ -105,10 +116,15 @@
105 116 sun7i-a20-pcduino3.dtb \
106 117 sun7i-a20-pcduino3-nano.dtb \
107 118 sun7i-a20-primo73.dtb \
108   - sun7i-a20-wexler-tab7200.dtb
  119 + sun7i-a20-wexler-tab7200.dtb \
  120 + sun7i-a20-wits-pro-a20-dkt.dtb \
  121 + sun7i-a20-yones-toptech-bd1078.dtb
109 122 dtb-$(CONFIG_MACH_SUN8I_A23) += \
110 123 sun8i-a23-ippo-q8h-v5.dtb \
111 124 sun8i-a23-ippo-q8h-v1.2.dtb
  125 +dtb-$(CONFIG_MACH_SUN8I_A33) += \
  126 + sun8i-a33-astar-mid756.dtb \
  127 + sun8i-a33-ippo-q8h-v1.2-lcd1024x600.dtb
112 128 dtb-$(CONFIG_MACH_SUN9I) += \
113 129 sun9i-a80-optimus.dtb \
114 130 sun9i-a80-cubieboard4.dtb
arch/arm/dts/sun4i-a10-inet-3f.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the iNet 3F for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun4i-a10.dtsi"
  11 +
  12 +/ {
  13 + model = "iNet 3F";
  14 + compatible = "inet,3f", "allwinner,sun4i-a10";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart0 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart0_pins_a>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun4i-a10-inet-3w.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the iNet 3W for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun4i-a10.dtsi"
  11 +
  12 +/ {
  13 + model = "iNet 3W";
  14 + compatible = "inet,3w", "allwinner,sun4i-a10";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart0 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart0_pins_a>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun5i-a13-ampe-a76.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Ampe A76 for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun5i-a13.dtsi"
  11 +
  12 +/ {
  13 + model = "Ampe A76";
  14 + compatible = "ampe,a76", "allwinner,sun5i-a13";
  15 +
  16 + aliases {
  17 + serial0 = &uart1;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart1 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart1_pins_b>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun5i-a13-forfun-q88db.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Forfun Q88db for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun5i-a13.dtsi"
  11 +
  12 +/ {
  13 + model = "Forfun Q88db";
  14 + compatible = "forfun,q88db", "allwinner,sun5i-a13";
  15 +
  16 + aliases {
  17 + serial0 = &uart1;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart1 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart1_pins_b>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun5i-a13-inet-86vs.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the iNet 86VS for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun5i-a13.dtsi"
  11 +
  12 +/ {
  13 + model = "iNet 86VS";
  14 + compatible = "inet,86vs", "allwinner,sun5i-a13";
  15 +
  16 + aliases {
  17 + serial0 = &uart1;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart1 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart1_pins_b>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun5i-a13-tzx-q8-713b7.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the TZX Q8 713b7 for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun5i-a13.dtsi"
  11 +
  12 +/ {
  13 + model = "TZX Q8 713b7";
  14 + compatible = "tzx,q8-713b7", "allwinner,sun5i-a13";
  15 +
  16 + aliases {
  17 + serial0 = &uart1;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart1 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart1_pins_b>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun6i-a31-mixtile-loftq.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Mixtile LOFT-Q for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun6i-a31.dtsi"
  11 +
  12 +/ {
  13 + model = "Mixtile LOFT-Q";
  14 + compatible = "mixtile,loft-q", "allwinner,sun6i-a31";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&ehci0 {
  26 + status = "okay";
  27 +};
  28 +
  29 +&ehci1 {
  30 + status = "okay";
  31 +};
  32 +
  33 +&gmac {
  34 + pinctrl-names = "default";
  35 + pinctrl-0 = <&gmac_pins_rgmii_a>;
  36 + phy = <&phy1>;
  37 + phy-mode = "rgmii";
  38 + status = "okay";
  39 +
  40 + phy1: ethernet-phy@1 {
  41 + reg = <1>;
  42 + };
  43 +};
  44 +
  45 +&ohci0 {
  46 + status = "okay";
  47 +};
  48 +
  49 +&ohci1 {
  50 + status = "okay";
  51 +};
  52 +
  53 +&uart0 {
  54 + pinctrl-names = "default";
  55 + pinctrl-0 = <&uart0_pins_a>;
  56 + status = "okay";
  57 +};
arch/arm/dts/sun6i-a31s-primo81.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the MSI Primo81 for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun6i-a31s.dtsi"
  11 +
  12 +/ {
  13 + model = "MSI Primo81";
  14 + compatible = "msi,primo81", "allwinner,sun6i-a31s";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart0 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart0_pins_a>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun7i-a20-ainol-aw1.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Ainol AW1 for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun7i-a20.dtsi"
  11 +
  12 +/ {
  13 + model = "Ainol AW1";
  14 + compatible = "ainol,aw1", "allwinner,sun7i-a20";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart0 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart0_pins_a>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun7i-a20-m5.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Mele M5 for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun7i-a20.dtsi"
  11 +
  12 +/ {
  13 + model = "Mele M5";
  14 + compatible = "mele,m5", "allwinner,sun7i-a20";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&ehci0 {
  26 + status = "okay";
  27 +};
  28 +
  29 +&ehci1 {
  30 + status = "okay";
  31 +};
  32 +
  33 +&gmac {
  34 + pinctrl-names = "default";
  35 + pinctrl-0 = <&gmac_pins_mii_a>;
  36 + phy = <&phy1>;
  37 + phy-mode = "mii";
  38 + status = "okay";
  39 +
  40 + phy1: ethernet-phy@1 {
  41 + reg = <1>;
  42 + };
  43 +};
  44 +
  45 +&ohci0 {
  46 + status = "okay";
  47 +};
  48 +
  49 +&ohci1 {
  50 + status = "okay";
  51 +};
  52 +
  53 +&uart0 {
  54 + pinctrl-names = "default";
  55 + pinctrl-0 = <&uart0_pins_a>;
  56 + status = "okay";
  57 +};
arch/arm/dts/sun7i-a20-mk808c.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the MK808C for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun7i-a20.dtsi"
  11 +
  12 +/ {
  13 + model = "MK808C";
  14 + compatible = "allwinner,mk808c", "allwinner,sun7i-a20";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&ehci0 {
  26 + status = "okay";
  27 +};
  28 +
  29 +&ehci1 {
  30 + status = "okay";
  31 +};
  32 +
  33 +&ohci0 {
  34 + status = "okay";
  35 +};
  36 +
  37 +&ohci1 {
  38 + status = "okay";
  39 +};
  40 +
  41 +&uart0 {
  42 + pinctrl-names = "default";
  43 + pinctrl-0 = <&uart0_pins_a>;
  44 + status = "okay";
  45 +};
arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Wits Pro A20 DKT for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun7i-a20.dtsi"
  11 +
  12 +/ {
  13 + model = "Wits Pro A20 DKT";
  14 + compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&ehci0 {
  26 + status = "okay";
  27 +};
  28 +
  29 +&ehci1 {
  30 + status = "okay";
  31 +};
  32 +
  33 +&gmac {
  34 + pinctrl-names = "default";
  35 + pinctrl-0 = <&gmac_pins_rgmii_a>;
  36 + phy = <&phy1>;
  37 + phy-mode = "rgmii";
  38 + status = "okay";
  39 +
  40 + phy1: ethernet-phy@1 {
  41 + reg = <1>;
  42 + };
  43 +};
  44 +
  45 +&ohci0 {
  46 + status = "okay";
  47 +};
  48 +
  49 +&ohci1 {
  50 + status = "okay";
  51 +};
  52 +
  53 +&uart0 {
  54 + pinctrl-names = "default";
  55 + pinctrl-0 = <&uart0_pins_a>;
  56 + status = "okay";
  57 +};
arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Yones Toptech BD1078 for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun7i-a20.dtsi"
  11 +
  12 +/ {
  13 + model = "Yones Toptech BD1078";
  14 + compatible = "yones,toptech-bd1078", "allwinner,sun7i-a20";
  15 +
  16 + aliases {
  17 + serial0 = &uart0;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&uart0 {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&uart0_pins_a>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun8i-a33-astar-mid756.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Astar MID756 for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun8i-a23.dtsi"
  11 +
  12 +/ {
  13 + model = "Astar MID756";
  14 + compatible = "astar,mid756", "allwinner,sun8i-a23";
  15 +
  16 + aliases {
  17 + serial0 = &r_uart;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&r_uart {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&r_uart_pins_a>;
  28 + status = "okay";
  29 +};
arch/arm/dts/sun8i-a33-ippo-q8h-v1.2-lcd1024x600.dts
  1 +/*
  2 + * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  3 + *
  4 + * Minimal dts file for the Ippo Q8H V1.2 (A33, 1024x600) for u-boot only
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0+ or X11
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "sun8i-a23.dtsi"
  11 +
  12 +/ {
  13 + model = "Ippo Q8H V1.2 (A33, 1024x600)";
  14 + compatible = "ippo,q8h-v1.2-a33-lcd1024x600", "allwinner,sun8i-a23";
  15 +
  16 + aliases {
  17 + serial0 = &r_uart;
  18 + };
  19 +
  20 + chosen {
  21 + stdout-path = "serial0:115200n8";
  22 + };
  23 +};
  24 +
  25 +&r_uart {
  26 + pinctrl-names = "default";
  27 + pinctrl-0 = <&r_uart_pins_a>;
  28 + status = "okay";
  29 +};