diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-05-02 11:57:25 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-05-04 23:58:28 -0400 |
commit | 0ff1ffd3fe86840c80458ea45c2379014c86b660 (patch) | |
tree | 45ad0d6c6d696d68d690dc95782902f00302d709 /arch/arm/boot/dts/sun6i-a31-m9.dts | |
parent | 5b753f0e27da2b0a29142be0833784475bc29366 (diff) |
ARM: dts: sun6i: Add new sun6i-a31-m9 dts file for Mele M9
Add a new sun6i-a31-m9 dts file for the Mele M9 / Mele A1000G Quad. These
HTPCs use the same board in a different case, for more details see:
http://linux-sunxi.org/Mele_M9
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-m9.dts')
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-m9.dts | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts new file mode 100644 index 000000000000..22eacf83997a --- /dev/null +++ b/arch/arm/boot/dts/sun6i-a31-m9.dts | |||
@@ -0,0 +1,48 @@ | |||
1 | /* | ||
2 | * Copyright 2014 Hans de Goede <hdegoede@redhat.com> | ||
3 | * | ||
4 | * The code contained herein is licensed under the GNU General Public | ||
5 | * License. You may obtain a copy of the GNU General Public License | ||
6 | * Version 2 or later at the following locations: | ||
7 | * | ||
8 | * http://www.opensource.org/licenses/gpl-license.html | ||
9 | * http://www.gnu.org/copyleft/gpl.html | ||
10 | */ | ||
11 | |||
12 | /dts-v1/; | ||
13 | /include/ "sun6i-a31.dtsi" | ||
14 | |||
15 | / { | ||
16 | model = "Mele M9 / A1000G Quad top set box"; | ||
17 | compatible = "mele,m9", "allwinner,sun6i-a31"; | ||
18 | |||
19 | chosen { | ||
20 | bootargs = "earlyprintk console=ttyS0,115200"; | ||
21 | }; | ||
22 | |||
23 | soc@01c00000 { | ||
24 | mmc0: mmc@01c0f000 { | ||
25 | pinctrl-names = "default"; | ||
26 | pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_m9>; | ||
27 | bus-width = <4>; | ||
28 | cd-gpios = <&pio 7 22 0>; /* PH22 */ | ||
29 | cd-inverted; | ||
30 | status = "okay"; | ||
31 | }; | ||
32 | |||
33 | pio: pinctrl@01c20800 { | ||
34 | mmc0_cd_pin_m9: mmc0_cd_pin@0 { | ||
35 | allwinner,pins = "PH22"; | ||
36 | allwinner,function = "gpio_in"; | ||
37 | allwinner,drive = <0>; | ||
38 | allwinner,pull = <1>; | ||
39 | }; | ||
40 | }; | ||
41 | |||
42 | uart0: serial@01c28000 { | ||
43 | pinctrl-names = "default"; | ||
44 | pinctrl-0 = <&uart0_pins_a>; | ||
45 | status = "okay"; | ||
46 | }; | ||
47 | }; | ||
48 | }; | ||