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>
This commit is contained in:
Hans de Goede 2015-04-23 17:04:19 +02:00
parent 9800cfce92
commit af79c4f15c
16 changed files with 553 additions and 2 deletions

View File

@ -65,6 +65,8 @@ dtb-$(CONFIG_MACH_SUN4I) += \
sun4i-a10-gemei-g9.dtb \
sun4i-a10-hackberry.dtb \
sun4i-a10-hyundai-a7hd.dtb \
sun4i-a10-inet-3f.dtb \
sun4i-a10-inet-3w.dtb \
sun4i-a10-inet97fv2.dtb \
sun4i-a10-jesurun-q5.dtb \
sun4i-a10-marsboard.dtb \
@ -78,9 +80,13 @@ dtb-$(CONFIG_MACH_SUN5I) += \
sun5i-a10s-mk802.dtb \
sun5i-a10s-olinuxino-micro.dtb \
sun5i-a10s-r7-tv-dongle.dtb \
sun5i-a13-ampe-a76.dtb \
sun5i-a13-forfun-q88db.dtb \
sun5i-a13-hsg-h702.dtb \
sun5i-a13-inet-86vs.dtb \
sun5i-a13-olinuxino.dtb \
sun5i-a13-olinuxino-micro.dtb \
sun5i-a13-tzx-q8-713b7.dtb \
sun5i-a13-utoo-p66.dtb
dtb-$(CONFIG_MACH_SUN6I) += \
sun6i-a31-app4-evb1.dtb \
@ -88,8 +94,11 @@ dtb-$(CONFIG_MACH_SUN6I) += \
sun6i-a31-hummingbird.dtb \
sun6i-a31-i7.dtb \
sun6i-a31-m9.dtb \
sun6i-a31s-cs908.dtb
sun6i-a31-mixtile-loftq.dtb \
sun6i-a31s-cs908.dtb \
sun6i-a31s-primo81.dtb
dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-ainol-aw1.dtb \
sun7i-a20-bananapi.dtb \
sun7i-a20-bananapro.dtb \
sun7i-a20-cubieboard2.dtb \
@ -97,6 +106,8 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-hummingbird.dtb \
sun7i-a20-i12-tvbox.dtb \
sun7i-a20-m3.dtb \
sun7i-a20-m5.dtb \
sun7i-a20-mk808c.dtb \
sun7i-a20-olinuxino-lime.dtb \
sun7i-a20-olinuxino-lime2.dtb \
sun7i-a20-olinuxino-micro.dtb \
@ -105,10 +116,15 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-pcduino3.dtb \
sun7i-a20-pcduino3-nano.dtb \
sun7i-a20-primo73.dtb \
sun7i-a20-wexler-tab7200.dtb
sun7i-a20-wexler-tab7200.dtb \
sun7i-a20-wits-pro-a20-dkt.dtb \
sun7i-a20-yones-toptech-bd1078.dtb
dtb-$(CONFIG_MACH_SUN8I_A23) += \
sun8i-a23-ippo-q8h-v5.dtb \
sun8i-a23-ippo-q8h-v1.2.dtb
dtb-$(CONFIG_MACH_SUN8I_A33) += \
sun8i-a33-astar-mid756.dtb \
sun8i-a33-ippo-q8h-v1.2-lcd1024x600.dtb
dtb-$(CONFIG_MACH_SUN9I) += \
sun9i-a80-optimus.dtb \
sun9i-a80-cubieboard4.dtb

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the iNet 3F for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun4i-a10.dtsi"
/ {
model = "iNet 3F";
compatible = "inet,3f", "allwinner,sun4i-a10";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the iNet 3W for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun4i-a10.dtsi"
/ {
model = "iNet 3W";
compatible = "inet,3w", "allwinner,sun4i-a10";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Ampe A76 for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun5i-a13.dtsi"
/ {
model = "Ampe A76";
compatible = "ampe,a76", "allwinner,sun5i-a13";
aliases {
serial0 = &uart1;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins_b>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Forfun Q88db for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun5i-a13.dtsi"
/ {
model = "Forfun Q88db";
compatible = "forfun,q88db", "allwinner,sun5i-a13";
aliases {
serial0 = &uart1;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins_b>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the iNet 86VS for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun5i-a13.dtsi"
/ {
model = "iNet 86VS";
compatible = "inet,86vs", "allwinner,sun5i-a13";
aliases {
serial0 = &uart1;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins_b>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the TZX Q8 713b7 for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun5i-a13.dtsi"
/ {
model = "TZX Q8 713b7";
compatible = "tzx,q8-713b7", "allwinner,sun5i-a13";
aliases {
serial0 = &uart1;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins_b>;
status = "okay";
};

View File

@ -0,0 +1,57 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Mixtile LOFT-Q for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun6i-a31.dtsi"
/ {
model = "Mixtile LOFT-Q";
compatible = "mixtile,loft-q", "allwinner,sun6i-a31";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&ehci0 {
status = "okay";
};
&ehci1 {
status = "okay";
};
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_pins_rgmii_a>;
phy = <&phy1>;
phy-mode = "rgmii";
status = "okay";
phy1: ethernet-phy@1 {
reg = <1>;
};
};
&ohci0 {
status = "okay";
};
&ohci1 {
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the MSI Primo81 for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun6i-a31s.dtsi"
/ {
model = "MSI Primo81";
compatible = "msi,primo81", "allwinner,sun6i-a31s";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Ainol AW1 for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun7i-a20.dtsi"
/ {
model = "Ainol AW1";
compatible = "ainol,aw1", "allwinner,sun7i-a20";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,57 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Mele M5 for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun7i-a20.dtsi"
/ {
model = "Mele M5";
compatible = "mele,m5", "allwinner,sun7i-a20";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&ehci0 {
status = "okay";
};
&ehci1 {
status = "okay";
};
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_pins_mii_a>;
phy = <&phy1>;
phy-mode = "mii";
status = "okay";
phy1: ethernet-phy@1 {
reg = <1>;
};
};
&ohci0 {
status = "okay";
};
&ohci1 {
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,45 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the MK808C for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun7i-a20.dtsi"
/ {
model = "MK808C";
compatible = "allwinner,mk808c", "allwinner,sun7i-a20";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&ehci0 {
status = "okay";
};
&ehci1 {
status = "okay";
};
&ohci0 {
status = "okay";
};
&ohci1 {
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,57 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Wits Pro A20 DKT for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun7i-a20.dtsi"
/ {
model = "Wits Pro A20 DKT";
compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&ehci0 {
status = "okay";
};
&ehci1 {
status = "okay";
};
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_pins_rgmii_a>;
phy = <&phy1>;
phy-mode = "rgmii";
status = "okay";
phy1: ethernet-phy@1 {
reg = <1>;
};
};
&ohci0 {
status = "okay";
};
&ohci1 {
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Yones Toptech BD1078 for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun7i-a20.dtsi"
/ {
model = "Yones Toptech BD1078";
compatible = "yones,toptech-bd1078", "allwinner,sun7i-a20";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Astar MID756 for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun8i-a23.dtsi"
/ {
model = "Astar MID756";
compatible = "astar,mid756", "allwinner,sun8i-a23";
aliases {
serial0 = &r_uart;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&r_uart {
pinctrl-names = "default";
pinctrl-0 = <&r_uart_pins_a>;
status = "okay";
};

View File

@ -0,0 +1,29 @@
/*
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
*
* Minimal dts file for the Ippo Q8H V1.2 (A33, 1024x600) for u-boot only
*
* SPDX-License-Identifier: GPL-2.0+ or X11
*/
/dts-v1/;
#include "sun8i-a23.dtsi"
/ {
model = "Ippo Q8H V1.2 (A33, 1024x600)";
compatible = "ippo,q8h-v1.2-a33-lcd1024x600", "allwinner,sun8i-a23";
aliases {
serial0 = &r_uart;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&r_uart {
pinctrl-names = "default";
pinctrl-0 = <&r_uart_pins_a>;
status = "okay";
};