1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016-2017 Andreas Färber
7 * Copyright (c) 2016 BayLibre, SAS.
8 * Author: Neil Armstrong <narmstrong@baylibre.com>
10 * Copyright (c) 2016 Endless Computers, Inc.
11 * Author: Carlo Caione <carlo@endlessm.com>
16 #include "meson-gxm.dtsi"
19 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm";
28 stdout-path = "serial0:115200n8";
32 device_type = "memory";
33 reg = <0x0 0x0 0x0 0x80000000>; /* 2 GiB or 3 GiB */
37 compatible = "gpio-leds";
40 label = "rbox-pro:blue:on";
41 gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
46 label = "rbox-pro:red:standby";
47 gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>;
48 default-state = "off";
49 retain-state-suspended;
54 vddio_boot: regulator-vddio-boot {
55 compatible = "regulator-fixed";
56 regulator-name = "VDDIO_BOOT";
57 regulator-min-microvolt = <1800000>;
58 regulator-max-microvolt = <1800000>;
61 vddao_3v3: regulator-vddao-3v3 {
62 compatible = "regulator-fixed";
63 regulator-name = "VDDAO_3V3";
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
68 vcc_3v3: regulator-vcc-3v3 {
69 compatible = "regulator-fixed";
70 regulator-name = "VCC_3V3";
71 regulator-min-microvolt = <3300000>;
72 regulator-max-microvolt = <3300000>;
75 emmc_pwrseq: emmc-pwrseq {
76 compatible = "mmc-pwrseq-emmc";
77 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
81 compatible = "pwm-clock";
83 clock-frequency = <32768>;
84 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
87 sdio_pwrseq: sdio-pwrseq {
88 compatible = "mmc-pwrseq-simple";
89 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
91 clock-names = "ext_clock";
98 pinctrl-0 = <ð_pins>;
99 pinctrl-names = "default";
101 /* Select external PHY by default */
102 phy-handle = <&external_phy>;
104 amlogic,tx-delay-ns = <2>;
106 /* External PHY is in RGMII */
111 external_phy: ethernet-phy@0 {
112 /* Realtek RTL8211F (0x001cc916) */
116 reset-assert-us = <10000>;
117 reset-deassert-us = <80000>;
118 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
124 pinctrl-0 = <&remote_input_ao_pins>;
125 pinctrl-names = "default";
130 pinctrl-0 = <&pwm_e_pins>;
131 pinctrl-names = "default";
132 clocks = <&clkc CLKID_FCLK_DIV4>;
133 clock-names = "clkin0";
136 /* Wireless SDIO Module */
139 pinctrl-0 = <&sdio_pins>;
140 pinctrl-names = "default";
141 #address-cells = <1>;
146 max-frequency = <50000000>;
151 /* WiFi firmware requires power to be kept while in suspend */
152 keep-power-in-suspend;
154 mmc-pwrseq = <&sdio_pwrseq>;
156 vmmc-supply = <&vddao_3v3>;
157 vqmmc-supply = <&vddio_boot>;
161 compatible = "brcm,bcm4329-fmac";
168 pinctrl-0 = <&sdcard_pins>;
169 pinctrl-names = "default";
173 max-frequency = <50000000>;
176 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
178 vmmc-supply = <&vddao_3v3>;
179 vqmmc-supply = <&vddio_boot>;
185 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
186 pinctrl-names = "default";
190 max-frequency = <200000000>;
196 mmc-pwrseq = <&emmc_pwrseq>;
197 vmmc-supply = <&vcc_3v3>;
198 vqmmc-supply = <&vddio_boot>;
203 pinctrl-0 = <&uart_ao_a_pins>;
204 pinctrl-names = "default";