~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3566-box-demo.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/rockchip/rk3566-box-demo.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3566-box-demo.dts (Version linux-6.5.13)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2                                                     2 
  3 /*                                                  3 /*
  4  * Author: Piotr Oniszczuk piotr.oniszczuk@gma      4  * Author: Piotr Oniszczuk piotr.oniszczuk@gmail.com
  5  * Based on Quartz64 DT by: Peter Geis pgwipeo      5  * Based on Quartz64 DT by: Peter Geis pgwipeout@gmail.com
  6  */                                                 6  */
  7                                                     7 
  8 /dts-v1/;                                           8 /dts-v1/;
  9                                                     9 
 10 #include <dt-bindings/gpio/gpio.h>                 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/leds/common.h>               11 #include <dt-bindings/leds/common.h>
 12 #include <dt-bindings/pinctrl/rockchip.h>          12 #include <dt-bindings/pinctrl/rockchip.h>
 13 #include <dt-bindings/soc/rockchip,vop2.h>         13 #include <dt-bindings/soc/rockchip,vop2.h>
 14 #include "rk3566.dtsi"                             14 #include "rk3566.dtsi"
 15                                                    15 
 16 / {                                                16 / {
 17         model = "Rockchip RK3566 BOX DEMO Boar     17         model = "Rockchip RK3566 BOX DEMO Board";
 18         compatible = "rockchip,rk3566-box-demo     18         compatible = "rockchip,rk3566-box-demo", "rockchip,rk3566";
 19                                                    19 
 20         aliases {                                  20         aliases {
 21                 ethernet0 = &gmac1;                21                 ethernet0 = &gmac1;
 22                 mmc0 = &sdmmc0;                    22                 mmc0 = &sdmmc0;
 23                 mmc1 = &sdmmc1;                    23                 mmc1 = &sdmmc1;
 24                 mmc2 = &sdhci;                     24                 mmc2 = &sdhci;
 25         };                                         25         };
 26                                                    26 
 27         chosen: chosen {                           27         chosen: chosen {
 28                 stdout-path = "serial2:1500000     28                 stdout-path = "serial2:1500000n8";
 29         };                                         29         };
 30                                                    30 
 31         gmac1_clkin: external-gmac1-clock {        31         gmac1_clkin: external-gmac1-clock {
 32                 compatible = "fixed-clock";        32                 compatible = "fixed-clock";
 33                 clock-frequency = <125000000>;     33                 clock-frequency = <125000000>;
 34                 clock-output-names = "gmac1_cl     34                 clock-output-names = "gmac1_clkin";
 35                 #clock-cells = <0>;                35                 #clock-cells = <0>;
 36         };                                         36         };
 37                                                    37 
 38         hdmi-con {                                 38         hdmi-con {
 39                 compatible = "hdmi-connector";     39                 compatible = "hdmi-connector";
 40                 type = "a";                        40                 type = "a";
 41                                                    41 
 42                 port {                             42                 port {
 43                         hdmi_con_in: endpoint      43                         hdmi_con_in: endpoint {
 44                                 remote-endpoin     44                                 remote-endpoint = <&hdmi_out_con>;
 45                         };                         45                         };
 46                 };                                 46                 };
 47         };                                         47         };
 48                                                    48 
 49         ir-receiver {                              49         ir-receiver {
 50                 compatible = "gpio-ir-receiver     50                 compatible = "gpio-ir-receiver";
 51                 gpios = <&gpio4 RK_PC3 GPIO_AC     51                 gpios = <&gpio4 RK_PC3 GPIO_ACTIVE_LOW>;
 52                 pinctrl-0 = <&ir_int>;             52                 pinctrl-0 = <&ir_int>;
 53                 linux,rc-map-name = "rc-beelin     53                 linux,rc-map-name = "rc-beelink-gs1";
 54                 status = "okay";                   54                 status = "okay";
 55         };                                         55         };
 56                                                    56 
 57         leds {                                     57         leds {
 58                 compatible = "gpio-leds";          58                 compatible = "gpio-leds";
 59                                                    59 
 60                 led_work: led-0 {                  60                 led_work: led-0 {
 61                         gpios = <&gpio0 RK_PC3     61                         gpios = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>;
 62                         function = LED_FUNCTIO     62                         function = LED_FUNCTION_HEARTBEAT;
 63                         color = <LED_COLOR_ID_     63                         color = <LED_COLOR_ID_BLUE>;
 64                         linux,default-trigger      64                         linux,default-trigger = "heartbeat";
 65                         pinctrl-names = "defau     65                         pinctrl-names = "default";
 66                         pinctrl-0 = <&led_work     66                         pinctrl-0 = <&led_work_en>;
 67                 };                                 67                 };
 68         };                                         68         };
 69                                                    69 
 70         sdio_pwrseq: sdio-pwrseq {                 70         sdio_pwrseq: sdio-pwrseq {
 71                 status = "okay";                   71                 status = "okay";
 72                 compatible = "mmc-pwrseq-simpl     72                 compatible = "mmc-pwrseq-simple";
 73                 clocks = <&pmucru CLK_RTC_32K>     73                 clocks = <&pmucru CLK_RTC_32K>;
 74                 clock-names = "ext_clock";         74                 clock-names = "ext_clock";
 75                 pinctrl-names = "default";         75                 pinctrl-names = "default";
 76                 pinctrl-0 = <&wifi_enable_h &w     76                 pinctrl-0 = <&wifi_enable_h &wifi_32k>;
 77                 reset-gpios = <&gpio2 RK_PB1 G     77                 reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
 78         };                                         78         };
 79                                                    79 
 80         spdif_dit: spdif-dit {                     80         spdif_dit: spdif-dit {
 81                 compatible = "linux,spdif-dit"     81                 compatible = "linux,spdif-dit";
 82                 #sound-dai-cells = <0>;            82                 #sound-dai-cells = <0>;
 83         };                                         83         };
 84                                                    84 
 85         spdif_sound: spdif-sound {                 85         spdif_sound: spdif-sound {
 86                 compatible = "simple-audio-car     86                 compatible = "simple-audio-card";
 87                 simple-audio-card,name = "SPDI     87                 simple-audio-card,name = "SPDIF";
 88                                                    88 
 89                 simple-audio-card,cpu {            89                 simple-audio-card,cpu {
 90                         sound-dai = <&spdif>;      90                         sound-dai = <&spdif>;
 91                 };                                 91                 };
 92                                                    92 
 93                 simple-audio-card,codec {          93                 simple-audio-card,codec {
 94                         sound-dai = <&spdif_di     94                         sound-dai = <&spdif_dit>;
 95                 };                                 95                 };
 96         };                                         96         };
 97                                                    97 
 98         vcc12v0_dcin: regulator-vcc12v0-dcin {     98         vcc12v0_dcin: regulator-vcc12v0-dcin {
 99                 compatible = "regulator-fixed"     99                 compatible = "regulator-fixed";
100                 regulator-name = "vcc12v0_dcin    100                 regulator-name = "vcc12v0_dcin";
101                 regulator-always-on;              101                 regulator-always-on;
102                 regulator-boot-on;                102                 regulator-boot-on;
103                 regulator-min-microvolt = <120    103                 regulator-min-microvolt = <12000000>;
104                 regulator-max-microvolt = <120    104                 regulator-max-microvolt = <12000000>;
105         };                                        105         };
106                                                   106 
107         vcc5v0_sys: regulator-vcc5v0-sys {        107         vcc5v0_sys: regulator-vcc5v0-sys {
108                 compatible = "regulator-fixed"    108                 compatible = "regulator-fixed";
109                 regulator-name = "vcc5v0_sys";    109                 regulator-name = "vcc5v0_sys";
110                 regulator-always-on;              110                 regulator-always-on;
111                 regulator-boot-on;                111                 regulator-boot-on;
112                 regulator-min-microvolt = <500    112                 regulator-min-microvolt = <5000000>;
113                 regulator-max-microvolt = <500    113                 regulator-max-microvolt = <5000000>;
114                 vin-supply = <&vcc12v0_dcin>;     114                 vin-supply = <&vcc12v0_dcin>;
115         };                                        115         };
116                                                   116 
117         vcc3v3_sys: regulator-vcc3v3-sys {        117         vcc3v3_sys: regulator-vcc3v3-sys {
118                 compatible = "regulator-fixed"    118                 compatible = "regulator-fixed";
119                 regulator-name = "vcc3v3_sys";    119                 regulator-name = "vcc3v3_sys";
120                 regulator-always-on;              120                 regulator-always-on;
121                 regulator-boot-on;                121                 regulator-boot-on;
122                 regulator-min-microvolt = <330    122                 regulator-min-microvolt = <3300000>;
123                 regulator-max-microvolt = <330    123                 regulator-max-microvolt = <3300000>;
124                 vin-supply = <&vcc12v0_dcin>;     124                 vin-supply = <&vcc12v0_dcin>;
125         };                                        125         };
126                                                   126 
127         vcc_3v3: regulator-vcc-3v3 {              127         vcc_3v3: regulator-vcc-3v3 {
128                 compatible = "regulator-fixed"    128                 compatible = "regulator-fixed";
129                 regulator-name = "vcc_3v3";       129                 regulator-name = "vcc_3v3";
130                 regulator-always-on;              130                 regulator-always-on;
131                 regulator-boot-on;                131                 regulator-boot-on;
132                 regulator-min-microvolt = <330    132                 regulator-min-microvolt = <3300000>;
133                 regulator-max-microvolt = <330    133                 regulator-max-microvolt = <3300000>;
134                 vin-supply = <&vcc3v3_sys>;       134                 vin-supply = <&vcc3v3_sys>;
135         };                                        135         };
136                                                   136 
137         vcc5v0_usb_host: regulator-vcc5v0-usb-    137         vcc5v0_usb_host: regulator-vcc5v0-usb-host {
138                 compatible = "regulator-fixed"    138                 compatible = "regulator-fixed";
139                 enable-active-high;               139                 enable-active-high;
140                 gpio = <&gpio0 RK_PA6 GPIO_ACT    140                 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
141                 pinctrl-names = "default";        141                 pinctrl-names = "default";
142                 pinctrl-0 = <&vcc5v0_usb_host_    142                 pinctrl-0 = <&vcc5v0_usb_host_en>;
143                 regulator-name = "vcc5v0_usb_h    143                 regulator-name = "vcc5v0_usb_host";
144                 regulator-min-microvolt = <500    144                 regulator-min-microvolt = <5000000>;
145                 regulator-max-microvolt = <500    145                 regulator-max-microvolt = <5000000>;
146                 vin-supply = <&vcc5v0_sys>;       146                 vin-supply = <&vcc5v0_sys>;
147         };                                        147         };
148                                                   148 
149         vcc5v0_usb2_otg: regulator-vcc5v0-usb2    149         vcc5v0_usb2_otg: regulator-vcc5v0-usb2-otg {
150                 compatible = "regulator-fixed"    150                 compatible = "regulator-fixed";
151                 enable-active-high;               151                 enable-active-high;
152                 gpio = <&gpio0 RK_PC6 GPIO_ACT    152                 gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
153                 pinctrl-names = "default";        153                 pinctrl-names = "default";
154                 pinctrl-0 = <&vcc5v0_usb2_otg_    154                 pinctrl-0 = <&vcc5v0_usb2_otg_en>;
155                 regulator-name = "vcc5v0_usb_o    155                 regulator-name = "vcc5v0_usb_otg";
156                 regulator-min-microvolt = <500    156                 regulator-min-microvolt = <5000000>;
157                 regulator-max-microvolt = <500    157                 regulator-max-microvolt = <5000000>;
158                 vin-supply = <&vcc5v0_sys>;       158                 vin-supply = <&vcc5v0_sys>;
159         };                                        159         };
160                                                   160 
161         vcca_1v8: regulator-vcca-1v8 {            161         vcca_1v8: regulator-vcca-1v8 {
162                 compatible = "regulator-fixed"    162                 compatible = "regulator-fixed";
163                 regulator-name = "vcca_1v8";      163                 regulator-name = "vcca_1v8";
164                 regulator-always-on;              164                 regulator-always-on;
165                 regulator-boot-on;                165                 regulator-boot-on;
166                 regulator-min-microvolt = <180    166                 regulator-min-microvolt = <1800000>;
167                 regulator-max-microvolt = <180    167                 regulator-max-microvolt = <1800000>;
168                 vin-supply = <&vcc3v3_sys>;       168                 vin-supply = <&vcc3v3_sys>;
169         };                                        169         };
170                                                   170 
171         vdda_0v9: regulator-vdda-0v9 {            171         vdda_0v9: regulator-vdda-0v9 {
172                 compatible = "regulator-fixed"    172                 compatible = "regulator-fixed";
173                 regulator-name = "vdda_0v9";      173                 regulator-name = "vdda_0v9";
174                 regulator-always-on;              174                 regulator-always-on;
175                 regulator-boot-on;                175                 regulator-boot-on;
176                 regulator-min-microvolt = <900    176                 regulator-min-microvolt = <900000>;
177                 regulator-max-microvolt = <900    177                 regulator-max-microvolt = <900000>;
178                 vin-supply = <&vcc3v3_sys>;       178                 vin-supply = <&vcc3v3_sys>;
179         };                                        179         };
180                                                   180 
181         vdd_fixed: regulator-vdd-fixed {          181         vdd_fixed: regulator-vdd-fixed {
182                 compatible = "regulator-fixed"    182                 compatible = "regulator-fixed";
183                 regulator-name = "vdd_fixed";     183                 regulator-name = "vdd_fixed";
184                 regulator-min-microvolt = <950    184                 regulator-min-microvolt = <950000>;
185                 regulator-max-microvolt = <950    185                 regulator-max-microvolt = <950000>;
186                 regulator-always-on;              186                 regulator-always-on;
187                 regulator-boot-on;                187                 regulator-boot-on;
188                 vin-supply = <&vcc5v0_sys>;       188                 vin-supply = <&vcc5v0_sys>;
189         };                                        189         };
190                                                   190 
191         vdd_cpu: regulator-vdd-cpu {              191         vdd_cpu: regulator-vdd-cpu {
192                 compatible = "pwm-regulator";     192                 compatible = "pwm-regulator";
193                 pwms = <&pwm0 0 5000 1>;          193                 pwms = <&pwm0 0 5000 1>;
194                 regulator-name = "vdd_cpu";       194                 regulator-name = "vdd_cpu";
195                 regulator-min-microvolt = <800    195                 regulator-min-microvolt = <800000>;
196                 regulator-max-microvolt = <120    196                 regulator-max-microvolt = <1200000>;
197                 regulator-always-on;              197                 regulator-always-on;
198                 regulator-boot-on;                198                 regulator-boot-on;
199                 regulator-settling-time-up-us     199                 regulator-settling-time-up-us = <250>;
200                 pwm-supply = <&vcc5v0_sys>;       200                 pwm-supply = <&vcc5v0_sys>;
201         };                                        201         };
202                                                   202 
203         vdd_logic: regulator-vdd-logic {          203         vdd_logic: regulator-vdd-logic {
204                 compatible = "pwm-regulator";     204                 compatible = "pwm-regulator";
205                 pwms = <&pwm1 0 5000 1>;          205                 pwms = <&pwm1 0 5000 1>;
206                 regulator-name = "vdd_logic";     206                 regulator-name = "vdd_logic";
207                 regulator-min-microvolt = <800    207                 regulator-min-microvolt = <800000>;
208                 regulator-max-microvolt = <110    208                 regulator-max-microvolt = <1100000>;
209                 regulator-always-on;              209                 regulator-always-on;
210                 regulator-boot-on;                210                 regulator-boot-on;
211                 regulator-settling-time-up-us     211                 regulator-settling-time-up-us = <250>;
212                 pwm-supply = <&vcc5v0_sys>;       212                 pwm-supply = <&vcc5v0_sys>;
213         };                                        213         };
214 };                                                214 };
215                                                   215 
216 &combphy1 {                                       216 &combphy1 {
217         status = "okay";                          217         status = "okay";
218 };                                                218 };
219                                                   219 
220 &combphy2 {                                       220 &combphy2 {
221         status = "okay";                          221         status = "okay";
222 };                                                222 };
223                                                   223 
224 &cpu0 {                                           224 &cpu0 {
225         cpu-supply = <&vdd_cpu>;                  225         cpu-supply = <&vdd_cpu>;
226 };                                                226 };
227                                                   227 
228 &cpu1 {                                           228 &cpu1 {
229         cpu-supply = <&vdd_cpu>;                  229         cpu-supply = <&vdd_cpu>;
230 };                                                230 };
231                                                   231 
232 &cpu2 {                                           232 &cpu2 {
233         cpu-supply = <&vdd_cpu>;                  233         cpu-supply = <&vdd_cpu>;
234 };                                                234 };
235                                                   235 
236 &cpu3 {                                           236 &cpu3 {
237         cpu-supply = <&vdd_cpu>;                  237         cpu-supply = <&vdd_cpu>;
238 };                                                238 };
239                                                   239 
240 &gmac1 {                                          240 &gmac1 {
241         assigned-clocks = <&cru SCLK_GMAC1_RX_    241         assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
242         assigned-clock-parents = <&cru SCLK_GM    242         assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&gmac1_clkin>;
243         phy-mode = "rgmii";                       243         phy-mode = "rgmii";
244         clock_in_out = "input";                   244         clock_in_out = "input";
245         pinctrl-names = "default";                245         pinctrl-names = "default";
246         pinctrl-0 = <&gmac1m1_miim                246         pinctrl-0 = <&gmac1m1_miim
247                     &gmac1m1_tx_bus2              247                     &gmac1m1_tx_bus2
248                     &gmac1m1_rx_bus2              248                     &gmac1m1_rx_bus2
249                     &gmac1m1_rgmii_clk            249                     &gmac1m1_rgmii_clk
250                     &gmac1m1_rgmii_bus            250                     &gmac1m1_rgmii_bus
251                     &gmac1m1_clkinout>;           251                     &gmac1m1_clkinout>;
252         snps,reset-gpio = <&gpio4 RK_PC2 GPIO_    252         snps,reset-gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_LOW>;
253         snps,reset-active-low;                    253         snps,reset-active-low;
254         /* Reset time is 20ms, 100ms for rtl82    254         /* Reset time is 20ms, 100ms for rtl8211f */
255         snps,reset-delays-us = <0 20000 100000    255         snps,reset-delays-us = <0 20000 100000>;
256                                                   256 
257         tx_delay = <0x4f>;                        257         tx_delay = <0x4f>;
258         rx_delay = <0x2d>;                        258         rx_delay = <0x2d>;
259         phy-handle = <&rgmii_phy1>;               259         phy-handle = <&rgmii_phy1>;
260         status = "okay";                          260         status = "okay";
261 };                                                261 };
262                                                   262 
263 &mdio1 {                                          263 &mdio1 {
264         rgmii_phy1: ethernet-phy@1 {              264         rgmii_phy1: ethernet-phy@1 {
265                 compatible = "ethernet-phy-iee    265                 compatible = "ethernet-phy-ieee802.3-c22";
266                 reg = <0x1>;                      266                 reg = <0x1>;
267         };                                        267         };
268 };                                                268 };
269                                                   269 
270 &hdmi {                                           270 &hdmi {
271         assigned-clocks = <&cru CLK_HDMI_CEC>;    271         assigned-clocks = <&cru CLK_HDMI_CEC>;
272         assigned-clock-rates = <32768>;           272         assigned-clock-rates = <32768>;
273         avdd-0v9-supply = <&vdda_0v9>;            273         avdd-0v9-supply = <&vdda_0v9>;
274         avdd-1v8-supply = <&vcca_1v8>;            274         avdd-1v8-supply = <&vcca_1v8>;
275         status = "okay";                          275         status = "okay";
276 };                                                276 };
277                                                   277 
278 &hdmi_in {                                        278 &hdmi_in {
279         hdmi_in_vp0: endpoint {                   279         hdmi_in_vp0: endpoint {
280                 remote-endpoint = <&vp0_out_hd    280                 remote-endpoint = <&vp0_out_hdmi>;
281         };                                        281         };
282 };                                                282 };
283                                                   283 
284 &hdmi_out {                                       284 &hdmi_out {
285         hdmi_out_con: endpoint {                  285         hdmi_out_con: endpoint {
286                 remote-endpoint = <&hdmi_con_i    286                 remote-endpoint = <&hdmi_con_in>;
287         };                                        287         };
288 };                                                288 };
289                                                   289 
290 &hdmi_sound {                                     290 &hdmi_sound {
291         status = "okay";                          291         status = "okay";
292 };                                                292 };
293                                                   293 
294 &gpu {                                            294 &gpu {
295         status = "okay";                          295         status = "okay";
296 };                                                296 };
297                                                   297 
298 &i2s0_8ch {                                       298 &i2s0_8ch {
299         status = "okay";                          299         status = "okay";
300 };                                                300 };
301                                                   301 
302 &i2s1_8ch {                                       302 &i2s1_8ch {
303         rockchip,trcm-sync-tx-only;               303         rockchip,trcm-sync-tx-only;
304         status = "okay";                          304         status = "okay";
305 };                                                305 };
306                                                   306 
307 &pinctrl {                                        307 &pinctrl {
308         bt {                                      308         bt {
309                 bt_enable_h: bt-enable-h {        309                 bt_enable_h: bt-enable-h {
310                         rockchip,pins = <2 RK_    310                         rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
311                 };                                311                 };
312                                                   312 
313                 bt_host_wake_l: bt-host-wake-l    313                 bt_host_wake_l: bt-host-wake-l {
314                         rockchip,pins = <2 RK_    314                         rockchip,pins = <2 RK_PC0 RK_FUNC_GPIO &pcfg_pull_down>;
315                 };                                315                 };
316                                                   316 
317                 bt_wake_l: bt-wake-l {            317                 bt_wake_l: bt-wake-l {
318                         rockchip,pins = <2 RK_    318                         rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
319                 };                                319                 };
320         };                                        320         };
321                                                   321 
322         sdio-pwrseq {                             322         sdio-pwrseq {
323                 wifi_enable_h: wifi-enable-h {    323                 wifi_enable_h: wifi-enable-h {
324                         rockchip,pins = <2 RK_    324                         rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
325                 };                                325                 };
326                                                   326 
327                 wifi_host_wake_h: wifi-host-wa    327                 wifi_host_wake_h: wifi-host-wake-l {
328                         rockchip,pins = <2 RK_    328                         rockchip,pins = <2 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
329                 };                                329                 };
330                                                   330 
331                 wifi_32k: wifi-32k {              331                 wifi_32k: wifi-32k {
332                         rockchip,pins = <2 RK_    332                         rockchip,pins = <2 RK_PC6 1 &pcfg_pull_none>;
333                 };                                333                 };
334         };                                        334         };
335                                                   335 
336         usb {                                     336         usb {
337                 vcc5v0_usb_host_en: vcc5v0_usb    337                 vcc5v0_usb_host_en: vcc5v0_usb_host_en {
338                         rockchip,pins = <0 RK_    338                         rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
339                 };                                339                 };
340                                                   340 
341                 vcc5v0_usb2_otg_en: vcc5v0_usb    341                 vcc5v0_usb2_otg_en: vcc5v0_usb2_otg_en {
342                         rockchip,pins = <0 RK_    342                         rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
343                 };                                343                 };
344                                                   344 
345         };                                        345         };
346                                                   346 
347         ir {                                      347         ir {
348                 ir_int: ir-int {                  348                 ir_int: ir-int {
349                         rockchip,pins = <4 RK_    349                         rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
350                 };                                350                 };
351         };                                        351         };
352                                                   352 
353         led {                                     353         led {
354                 led_work_en: led_work_en {        354                 led_work_en: led_work_en {
355                         rockchip,pins = <0 RK_    355                         rockchip,pins = <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
356                 };                                356                 };
357         };                                        357         };
358 };                                                358 };
359                                                   359 
360 &pmu_io_domains {                                 360 &pmu_io_domains {
361         pmuio2-supply = <&vcc_3v3>;               361         pmuio2-supply = <&vcc_3v3>;
362         vccio1-supply = <&vcc_3v3>;               362         vccio1-supply = <&vcc_3v3>;
363         vccio3-supply = <&vcc_3v3>;               363         vccio3-supply = <&vcc_3v3>;
364         vccio4-supply = <&vcca_1v8>;              364         vccio4-supply = <&vcca_1v8>;
365         vccio5-supply = <&vcc_3v3>;               365         vccio5-supply = <&vcc_3v3>;
366         vccio6-supply = <&vcca_1v8>;              366         vccio6-supply = <&vcca_1v8>;
367         vccio7-supply = <&vcc_3v3>;               367         vccio7-supply = <&vcc_3v3>;
368         status = "okay";                          368         status = "okay";
369 };                                                369 };
370                                                   370 
371 &pwm0 {                                           371 &pwm0 {
372         status = "okay";                          372         status = "okay";
373 };                                                373 };
374                                                   374 
375 &pwm1 {                                           375 &pwm1 {
376         status = "okay";                          376         status = "okay";
377 };                                                377 };
378                                                   378 
379 &sdhci {                                          379 &sdhci {
380         bus-width = <8>;                          380         bus-width = <8>;
381         mmc-hs200-1_8v;                           381         mmc-hs200-1_8v;
382         non-removable;                            382         non-removable;
383         status = "okay";                          383         status = "okay";
384 };                                                384 };
385                                                   385 
386 &sdmmc0 {                                         386 &sdmmc0 {
387         bus-width = <4>;                          387         bus-width = <4>;
388         cap-sd-highspeed;                         388         cap-sd-highspeed;
389         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_    389         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
390         disable-wp;                               390         disable-wp;
391         pinctrl-names = "default";                391         pinctrl-names = "default";
392         pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk     392         pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
393         vmmc-supply = <&vcc_3v3>;                 393         vmmc-supply = <&vcc_3v3>;
394         status = "okay";                          394         status = "okay";
395 };                                                395 };
396                                                   396 
397 &sdmmc1 {                                         397 &sdmmc1 {
398         /* WiFi & BT combo module AMPAK AP6398    398         /* WiFi & BT combo module AMPAK AP6398S */
399         #address-cells = <1>;                     399         #address-cells = <1>;
400         #size-cells = <0>;                        400         #size-cells = <0>;
401         bus-width = <4>;                          401         bus-width = <4>;
402         clock-frequency = <150000000>;            402         clock-frequency = <150000000>;
403         cap-sdio-irq;                             403         cap-sdio-irq;
404         cap-sd-highspeed;                         404         cap-sd-highspeed;
405         sd-uhs-sdr104;                            405         sd-uhs-sdr104;
406         keep-power-in-suspend;                    406         keep-power-in-suspend;
407         mmc-pwrseq = <&sdio_pwrseq>;              407         mmc-pwrseq = <&sdio_pwrseq>;
408         non-removable;                            408         non-removable;
409         pinctrl-names = "default";                409         pinctrl-names = "default";
410         pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd     410         pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
411         vmmc-supply = <&vcc_3v3>;                 411         vmmc-supply = <&vcc_3v3>;
412         vqmmc-supply = <&vcca_1v8>;               412         vqmmc-supply = <&vcca_1v8>;
413         status = "okay";                          413         status = "okay";
414                                                   414 
415         brcmf: wifi@1 {                           415         brcmf: wifi@1 {
416                 compatible = "brcm,bcm4329-fma    416                 compatible = "brcm,bcm4329-fmac";
417                 reg = <1>;                        417                 reg = <1>;
418                 interrupt-parent = <&gpio2>;      418                 interrupt-parent = <&gpio2>;
419                 interrupts = <RK_PB2 IRQ_TYPE_    419                 interrupts = <RK_PB2 IRQ_TYPE_LEVEL_HIGH>;
420                 interrupt-names = "host-wake";    420                 interrupt-names = "host-wake";
421                 pinctrl-names = "default";        421                 pinctrl-names = "default";
422                 pinctrl-0 = <&wifi_host_wake_h    422                 pinctrl-0 = <&wifi_host_wake_h>;
423         };                                        423         };
424 };                                                424 };
425                                                   425 
426 &spdif {                                          426 &spdif {
427         status = "okay";                          427         status = "okay";
428 };                                                428 };
429                                                   429 
430 &spi1 {                                           430 &spi1 {
431         pinctrl-names = "default";                431         pinctrl-names = "default";
432         pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins>    432         pinctrl-0 = <&spi1m1_cs0 &spi1m1_pins>;
433 };                                                433 };
434                                                   434 
435 &tsadc {                                          435 &tsadc {
436         /* tshut mode 0:CRU 1:GPIO */             436         /* tshut mode 0:CRU 1:GPIO */
437         rockchip,hw-tshut-mode = <1>;             437         rockchip,hw-tshut-mode = <1>;
438         /* tshut polarity 0:LOW 1:HIGH */         438         /* tshut polarity 0:LOW 1:HIGH */
439         rockchip,hw-tshut-polarity = <0>;         439         rockchip,hw-tshut-polarity = <0>;
440         status = "okay";                          440         status = "okay";
441 };                                                441 };
442                                                   442 
443 &uart1 {                                          443 &uart1 {
444         pinctrl-names = "default";                444         pinctrl-names = "default";
445         pinctrl-0 = <&uart1m0_xfer &uart1m0_ct    445         pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
446         status = "okay";                          446         status = "okay";
447         uart-has-rtscts;                          447         uart-has-rtscts;
448                                                   448 
449         bluetooth {                               449         bluetooth {
450                 compatible = "brcm,bcm43438-bt    450                 compatible = "brcm,bcm43438-bt";
451                 clocks = <&pmucru CLK_RTC_32K>    451                 clocks = <&pmucru CLK_RTC_32K>;
452                 clock-names = "txco";          !! 452                 clock-names = "ext_clock";
453                 device-wakeup-gpios = <&gpio2  !! 453                 device-wake-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
454                 host-wakeup-gpios = <&gpio2 RK !! 454                 host-wake-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
455                 shutdown-gpios = <&gpio2 RK_PB    455                 shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
456                 pinctrl-names = "default";        456                 pinctrl-names = "default";
457                 pinctrl-0 = <&bt_host_wake_l &    457                 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
458                 vbat-supply = <&vcc3v3_sys>;      458                 vbat-supply = <&vcc3v3_sys>;
459                 vddio-supply = <&vcca_1v8>;       459                 vddio-supply = <&vcca_1v8>;
460         };                                        460         };
461 };                                                461 };
462                                                   462 
463 &uart2 {                                          463 &uart2 {
464         status = "okay";                          464         status = "okay";
465 };                                                465 };
466                                                   466 
467 &vop {                                            467 &vop {
468         assigned-clocks = <&cru DCLK_VOP0>, <&    468         assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
469         assigned-clock-parents = <&pmucru PLL_    469         assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
470         status = "okay";                          470         status = "okay";
471 };                                                471 };
472                                                   472 
473 &vop_mmu {                                        473 &vop_mmu {
474         status = "okay";                          474         status = "okay";
475 };                                                475 };
476                                                   476 
477 &vp0 {                                            477 &vp0 {
478         vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_E    478         vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
479                 reg = <ROCKCHIP_VOP2_EP_HDMI0>    479                 reg = <ROCKCHIP_VOP2_EP_HDMI0>;
480                 remote-endpoint = <&hdmi_in_vp    480                 remote-endpoint = <&hdmi_in_vp0>;
481         };                                        481         };
482 };                                                482 };
483                                                   483 
484 &vpu {                                            484 &vpu {
485         status = "okay";                          485         status = "okay";
486 };                                                486 };
487                                                   487 
488 &vdpu_mmu {                                       488 &vdpu_mmu {
489         status = "okay";                          489         status = "okay";
490 };                                                490 };
491                                                   491 
492 &usb2phy0_host {                                  492 &usb2phy0_host {
493         phy-supply = <&vcc5v0_usb_host>;          493         phy-supply = <&vcc5v0_usb_host>;
494         status = "okay";                          494         status = "okay";
495 };                                                495 };
496                                                   496 
497 &usb2phy0_otg {                                   497 &usb2phy0_otg {
498         phy-supply = <&vcc5v0_usb2_otg>;          498         phy-supply = <&vcc5v0_usb2_otg>;
499         status = "okay";                          499         status = "okay";
500 };                                                500 };
501                                                   501 
502 &usb2phy1_host {                                  502 &usb2phy1_host {
503         phy-supply = <&vcc5v0_usb_host>;          503         phy-supply = <&vcc5v0_usb_host>;
504         status = "okay";                          504         status = "okay";
505 };                                                505 };
506                                                   506 
507 &usb2phy1_otg {                                   507 &usb2phy1_otg {
508         phy-supply = <&vcc5v0_usb_host>;          508         phy-supply = <&vcc5v0_usb_host>;
509         status = "okay";                          509         status = "okay";
510 };                                                510 };
511                                                   511 
512 &usb2phy1 {                                       512 &usb2phy1 {
513         status = "okay";                          513         status = "okay";
514 };                                                514 };
515                                                   515 
516 &usb_host0_ehci {                                 516 &usb_host0_ehci {
517         status = "okay";                          517         status = "okay";
518 };                                                518 };
519                                                   519 
520 &usb_host0_ohci {                                 520 &usb_host0_ohci {
521         status = "okay";                          521         status = "okay";
522 };                                                522 };
523                                                   523 
524 &usb_host1_ehci {                                 524 &usb_host1_ehci {
525         status = "okay";                          525         status = "okay";
526 };                                                526 };
527                                                   527 
528 &usb_host1_ohci {                                 528 &usb_host1_ohci {
529         status = "okay";                          529         status = "okay";
530 };                                                530 };
531                                                   531 
532 &usb_host1_xhci {                                 532 &usb_host1_xhci {
533         status = "okay";                          533         status = "okay";
534 };                                                534 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php