blob: da1d548b7330cd8d4cf97f36b7c305f6c527ecff [file] [log] [blame]
Jagan Teki635727d2020-06-10 16:06:57 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
4 * Copyright (c) 2019 Radxa Limited
5 * Copyright (c) 2019 Amarula Solutions(India)
6 */
7
8#include <dt-bindings/pwm/pwm.h>
9
10/ {
Jagan Tekid523b3d2020-07-21 20:54:35 +053011 clkin_gmac: external-gmac-clock {
12 compatible = "fixed-clock";
13 clock-frequency = <125000000>;
14 clock-output-names = "clkin_gmac";
15 #clock-cells = <0>;
Jagan Teki635727d2020-06-10 16:06:57 +053016 };
Jagan Teki635727d2020-06-10 16:06:57 +053017
Jonas Karlmanbabf4e72024-05-01 16:22:25 +000018 sdio_pwrseq: sdio-pwrseq {
19 compatible = "mmc-pwrseq-simple";
20 clocks = <&hym8563>;
21 clock-names = "ext_clock";
22 pinctrl-names = "default";
23 pinctrl-0 = <&wifi_enable_h>;
24 };
25
Jagan Tekid523b3d2020-07-21 20:54:35 +053026 vcc12v_dcin: vcc12v-dcin-regulator {
27 compatible = "regulator-fixed";
28 regulator-name = "vcc12v_dcin";
29 regulator-always-on;
30 regulator-boot-on;
31 regulator-min-microvolt = <12000000>;
32 regulator-max-microvolt = <12000000>;
33 };
Jagan Teki635727d2020-06-10 16:06:57 +053034
Jagan Tekid523b3d2020-07-21 20:54:35 +053035 vcc5v0_sys: vcc5v0-sys-regulator {
36 compatible = "regulator-fixed";
37 regulator-name = "vcc5v0_sys";
38 regulator-always-on;
39 regulator-boot-on;
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
42 vin-supply = <&vcc12v_dcin>;
43 };
Jagan Teki513673d2020-07-21 20:54:38 +053044
45 vbus_host: vbus-host {
46 compatible = "regulator-fixed";
47 pinctrl-names = "default";
48 pinctrl-0 = <&usb1_en_oc>;
49 regulator-name = "vbus_host"; /* HOST-5V */
50 regulator-always-on;
51 vin-supply = <&vcc5v0_sys>;
52 };
53
54 vbus_typec: vbus-typec {
55 compatible = "regulator-fixed";
56 pinctrl-names = "default";
57 pinctrl-0 = <&usb0_en_oc>;
58 regulator-name = "vbus_typec";
59 regulator-always-on;
60 vin-supply = <&vcc5v0_sys>;
61 };
Jagan Teki635727d2020-06-10 16:06:57 +053062};
63
Jagan Tekid523b3d2020-07-21 20:54:35 +053064&gmac {
65 assigned-clock-parents = <&clkin_gmac>;
66 clock_in_out = "input";
67 phy-mode = "rgmii";
68 pinctrl-names = "default";
69 pinctrl-0 = <&rgmii_pins>;
70 snps,reset-active-low;
71 snps,reset-delays-us = <0 10000 50000>;
72 tx_delay = <0x28>;
73 rx_delay = <0x11>;
Jagan Teki635727d2020-06-10 16:06:57 +053074 status = "okay";
Jagan Teki635727d2020-06-10 16:06:57 +053075};
76
Jagan Tekia901d3d2020-07-21 20:54:39 +053077&hdmi {
78 status = "okay";
79};
80
Jagan Teki635727d2020-06-10 16:06:57 +053081&pwm0 {
82 status = "okay";
83};
84
85&pwm2 {
86 status = "okay";
87};
88
Jonas Karlmanbabf4e72024-05-01 16:22:25 +000089&sdio0 {
90 bus-width = <4>;
91 cap-sd-highspeed;
92 cap-sdio-irq;
93 keep-power-in-suspend;
94 mmc-pwrseq = <&sdio_pwrseq>;
95 non-removable;
96 pinctrl-names = "default";
97 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
98 sd-uhs-sdr104;
99 status = "okay";
100};
101
Jagan Teki635727d2020-06-10 16:06:57 +0530102&sdmmc {
103 bus-width = <4>;
104 cap-mmc-highspeed;
105 cap-sd-highspeed;
Jagan Teki635727d2020-06-10 16:06:57 +0530106 disable-wp;
107 vqmmc-supply = <&vccio_sd>;
Jagan Teki635727d2020-06-10 16:06:57 +0530108 pinctrl-names = "default";
109 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
110 status = "okay";
111};
112
113&uart0 {
114 pinctrl-names = "default";
115 pinctrl-0 = <&uart0_xfer &uart0_cts>;
116 status = "okay";
117};
118
119&uart2 {
120 status = "okay";
121};
Jagan Tekia901d3d2020-07-21 20:54:39 +0530122
123&vopb {
124 status = "okay";
125};
126
127&vopb_mmu {
128 status = "okay";
129};
130
131&vopl {
132 status = "okay";
133};
134
135&vopl_mmu {
136 status = "okay";
137};