1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2021 Vyacheslav Bocharov <adeep@lexina.in>
4 * Copyright (c) 2020 JetHome
5 * Author: Aleksandr Kazantsev <ak@tvip.ru>
6 * Author: Alexey Shevelkin <ash@tvip.ru>
7 * Author: Vyacheslav Bocharov <adeep@lexina.in>
12 #include "meson-gxl.dtsi"
15 compatible = "jethome,jethub-j80", "amlogic,s905w", "amlogic,meson-gxl";
16 model = "JetHome JetHub J80";
18 device_type = "memory";
19 reg = <0x0 0x0 0x0 0x40000000>;
24 size = <0x0 0x1000000>;
29 serial0 = &uart_AO; /* Console */
30 serial1 = &uart_A; /* Bluetooth */
31 serial2 = &uart_AO_B; /* Wireless module 1 */
32 serial3 = &uart_C; /* Wireless module 2 */
37 stdout-path = "serial0:115200n8";
40 vddio_ao18: regulator-vddio_ao18 {
41 compatible = "regulator-fixed";
42 regulator-name = "VDDIO_AO18";
43 regulator-min-microvolt = <1800000>;
44 regulator-max-microvolt = <1800000>;
47 vddio_boot: regulator-vddio_boot {
48 compatible = "regulator-fixed";
49 regulator-name = "VDDIO_BOOT";
50 regulator-min-microvolt = <1800000>;
51 regulator-max-microvolt = <1800000>;
54 vddao_3v3: regulator-vddao_3v3 {
55 compatible = "regulator-fixed";
56 regulator-name = "VDDAO_3V3";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
61 vcc_3v3: regulator-vcc_3v3 {
62 compatible = "regulator-fixed";
63 regulator-name = "VCC_3V3";
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
68 emmc_pwrseq: emmc-pwrseq {
69 compatible = "mmc-pwrseq-emmc";
70 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
74 compatible = "pwm-clock";
76 clock-frequency = <32768>;
77 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
80 sdio_pwrseq: sdio-pwrseq {
81 compatible = "mmc-pwrseq-simple";
82 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
84 clock-names = "ext_clock";
93 wifi_mac: wifi-mac@c {
117 pinctrl-0 = <&pwm_e_pins>;
118 pinctrl-names = "default";
119 clocks = <&clkc CLKID_FCLK_DIV4>;
120 clock-names = "clkin0";
125 vref-supply = <&vddio_ao18>;
128 /* Wireless SDIO Module */
131 pinctrl-0 = <&sdio_pins>;
132 pinctrl-1 = <&sdio_clk_gate_pins>;
133 pinctrl-names = "default", "clk-gate";
134 #address-cells = <1>;
139 max-frequency = <50000000>;
144 /* WiFi firmware requires power to be kept while in suspend */
145 keep-power-in-suspend;
147 mmc-pwrseq = <&sdio_pwrseq>;
149 vmmc-supply = <&vddao_3v3>;
150 vqmmc-supply = <&vddio_boot>;
156 pinctrl-0 = <&sdcard_pins>;
157 pinctrl-1 = <&sdcard_clk_gate_pins>;
158 pinctrl-names = "default", "clk-gate";
162 max-frequency = <50000000>;
165 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
167 vmmc-supply = <&vddao_3v3>;
168 vqmmc-supply = <&vddio_boot>;
174 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
175 pinctrl-1 = <&emmc_clk_gate_pins>;
176 pinctrl-names = "default", "clk-gate";
180 max-frequency = <200000000>;
186 mmc-pwrseq = <&emmc_pwrseq>;
187 vmmc-supply = <&vcc_3v3>;
188 vqmmc-supply = <&vddio_boot>;
194 pinctrl-0 = <&uart_ao_a_pins>;
195 pinctrl-names = "default";
198 /* S905W only has access to its internal PHY */
202 phy-handle = <&internal_phy>;
207 pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>;
208 pinctrl-names = "default";
213 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
214 pinctrl-names = "default";
218 compatible = "realtek,rtl8822cs-bt";
219 enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
220 host-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>;
226 pinctrl-0 = <&uart_c_pins>;
227 pinctrl-names = "default";
232 pinctrl-0 = <&uart_ao_b_pins>, <&uart_ao_b_cts_rts_pins>;
233 pinctrl-names = "default";
239 pinctrl-names = "default";
240 pinctrl-0 = <&i2c_b_pins>;
243 compatible = "nxp,pcf8563";