2 * Copyright 2014 Hans de Goede <hdegoede@redhat.com>
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:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
13 /include/ "sun6i-a31.dtsi"
14 /include/ "sunxi-common-regulators.dtsi"
17 model = "Mele M9 / A1000G Quad top set box";
18 compatible = "mele,m9", "allwinner,sun6i-a31";
21 bootargs = "earlyprintk console=ttyS0,115200";
26 pinctrl-names = "default";
27 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_m9>;
28 vmmc-supply = <®_vcc3v3>;
30 cd-gpios = <&pio 7 22 0>; /* PH22 */
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>;
44 uart0: serial@01c28000 {
45 pinctrl-names = "default";
46 pinctrl-0 = <&uart0_pins_a>;