ARM: meson: dts: add basic Meson/Meson6/Meson6-atv1200 DTSI/DTS
[deliverable/linux.git] / arch / arm / boot / dts / sun6i-a31-m9.dts
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 /include/ "sunxi-common-regulators.dtsi"
15
16 / {
17 model = "Mele M9 / A1000G Quad top set box";
18 compatible = "mele,m9", "allwinner,sun6i-a31";
19
20 chosen {
21 bootargs = "earlyprintk console=ttyS0,115200";
22 };
23
24 soc@01c00000 {
25 mmc0: mmc@01c0f000 {
26 pinctrl-names = "default";
27 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_m9>;
28 vmmc-supply = <&reg_vcc3v3>;
29 bus-width = <4>;
30 cd-gpios = <&pio 7 22 0>; /* PH22 */
31 cd-inverted;
32 status = "okay";
33 };
34
35 pio: pinctrl@01c20800 {
36 mmc0_cd_pin_m9: mmc0_cd_pin@0 {
37 allwinner,pins = "PH22";
38 allwinner,function = "gpio_in";
39 allwinner,drive = <0>;
40 allwinner,pull = <1>;
41 };
42 };
43
44 uart0: serial@01c28000 {
45 pinctrl-names = "default";
46 pinctrl-0 = <&uart0_pins_a>;
47 status = "okay";
48 };
49 };
50 };
This page took 0.033347 seconds and 5 git commands to generate.