1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Oleg Ivanov <balbes-150@yandex.ru>
4 * Copyright (c) 2018 Martin Blumenstingl <martin.blumenstingl@googlemail.com>
9 #include "meson8m2.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
15 model = "Tronsmart MXIII Plus";
16 compatible = "tronsmart,mxiii-plus", "amlogic,meson8m2";
27 stdout-path = "serial0:115200n8";
31 reg = <0x40000000 0x80000000>;
35 compatible = "adc-keys";
36 io-channels = <&saradc 0>;
37 io-channel-names = "buttons";
38 keyup-threshold-microvolt = <1710000>;
42 linux,code = <KEY_FN>;
43 press-threshold-microvolt = <10000>;
47 vcc_3v3: regulator-vcc3v3 {
48 compatible = "regulator-fixed";
49 regulator-name = "VCC3V3";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
62 pinctrl-0 = <ð_rgmii_pins>;
63 pinctrl-names = "default";
65 phy-handle = <ð_phy0>;
68 amlogic,tx-delay-ns = <4>;
70 snps,reset-gpio = <&gpio GPIOH_4 0>;
71 snps,reset-delays-us = <0 10000 1000000>;
72 snps,reset-active-low;
75 compatible = "snps,dwmac-mdio";
79 eth_phy0: ethernet-phy@0 {
80 /* Realtek RTL8211F (0x001cc916) */
88 pinctrl-0 = <&ir_recv_pins>;
89 pinctrl-names = "default";
94 pinctrl-0 = <&i2c_ao_pins>;
95 pinctrl-names = "default";
98 compatible = "ricoh,rn5t618";
100 system-power-controller;
104 regulator-name = "VCCK";
105 regulator-min-microvolt = <825000>;
106 regulator-max-microvolt = <1150000>;
112 regulator-name = "VDDAO";
113 regulator-min-microvolt = <950000>;
114 regulator-max-microvolt = <1150000>;
120 regulator-name = "VDD_DDR";
121 regulator-min-microvolt = <1500000>;
122 regulator-max-microvolt = <1500000>;
128 regulator-name = "VDDIO_AO28";
129 regulator-min-microvolt = <2900000>;
130 regulator-max-microvolt = <2900000>;
136 regulator-name = "VDDIO_AO18";
137 regulator-min-microvolt = <1800000>;
138 regulator-max-microvolt = <1800000>;
144 regulator-name = "VCC1V8";
145 regulator-min-microvolt = <1800000>;
146 regulator-max-microvolt = <1800000>;
152 regulator-name = "VCC2V8";
153 regulator-min-microvolt = <2850000>;
154 regulator-max-microvolt = <2850000>;
160 regulator-name = "AVDD1V8";
161 regulator-min-microvolt = <1800000>;
162 regulator-max-microvolt = <1800000>;
168 regulator-name = "VDD_LDO";
169 regulator-min-microvolt = <2700000>;
170 regulator-max-microvolt = <2700000>;
176 regulator-name = "RTC_0V9";
177 regulator-min-microvolt = <900000>;
178 regulator-max-microvolt = <900000>;
188 vref-supply = <&vddio_ao1v8>;
194 pinctrl-0 = <&sd_b_pins>;
195 pinctrl-names = "default";
198 sd_card_slot: slot@1 {
199 compatible = "mmc-slot";
209 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
211 vmmc-supply = <&vcc_3v3>;
215 /* connected to the Bluetooth module */
218 pinctrl-0 = <&uart_a1_pins>, <&uart_a1_cts_rts_pins>;
219 pinctrl-names = "default";
225 pinctrl-0 = <&uart_ao_a_pins>;
226 pinctrl-names = "default";