1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2017 Centrum Embedded Systems, Jia-Bin Huang <jb@ces.com.tw>
4 * Copyright (C) 2018 Jonathan McDowell <noodles@earth.li>
8 #include "sun8i-h3.dtsi"
9 #include "sunxi-common-regulators.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
15 model = "MapleBoard MP130";
16 compatible = "mapleboard,mp130", "allwinner,sun8i-h3";
24 stdout-path = "serial0:115200n8";
28 compatible = "gpio-leds";
31 label = "mp130:orange:pwr";
32 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
37 label = "mp130:orange:status";
38 gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys";
47 linux,code = <KEY_POWER>;
48 gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; /* PL3 */
54 gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>;
60 allwinner,audio-routing =
61 "Line Out", "LINEOUT",
79 phy-handle = <&int_mii_phy>;
81 allwinner,leds-active-low;
86 pinctrl-names = "default";
87 pinctrl-0 = <&ir_pins_a>;
92 vmmc-supply = <®_vcc3v3>;
94 cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
100 pinctrl-names = "default";
101 pinctrl-0 = <&mmc2_8bit_pins>;
102 vmmc-supply = <®_vcc3v3>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&uart0_pins_a>;
128 pinctrl-names = "default";
129 pinctrl-0 = <&uart1_pins>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&uart2_pins>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&uart3_pins>;
146 dr_mode = "peripheral";
151 /* USB VBUS is always on */