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 = <&r_ir_rx_pin>;
92 vmmc-supply = <®_vcc3v3>;
94 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
99 pinctrl-names = "default";
100 pinctrl-0 = <&mmc2_8bit_pins>;
101 vmmc-supply = <®_vcc3v3>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&uart0_pa_pins>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&uart1_pins>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&uart2_pins>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&uart3_pins>;
145 dr_mode = "peripheral";
150 /* USB VBUS is always on */