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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3566-roc-pc.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-roc-pc.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3566-roc-pc.dts (Version linux-6.2.16)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2                                                     2 
  3 /dts-v1/;                                           3 /dts-v1/;
  4                                                     4 
  5 #include <dt-bindings/gpio/gpio.h>                  5 #include <dt-bindings/gpio/gpio.h>
  6 #include <dt-bindings/pinctrl/rockchip.h>           6 #include <dt-bindings/pinctrl/rockchip.h>
  7 #include <dt-bindings/soc/rockchip,vop2.h>          7 #include <dt-bindings/soc/rockchip,vop2.h>
  8 #include "rk3566.dtsi"                              8 #include "rk3566.dtsi"
  9                                                     9 
 10 / {                                                10 / {
 11         model = "Firefly Station M2";              11         model = "Firefly Station M2";
 12         compatible = "firefly,rk3566-roc-pc",      12         compatible = "firefly,rk3566-roc-pc", "rockchip,rk3566";
 13                                                    13 
 14         aliases {                                  14         aliases {
 15                 ethernet0 = &gmac1;            << 
 16                 mmc0 = &sdmmc0;                    15                 mmc0 = &sdmmc0;
 17                 mmc1 = &sdhci;                     16                 mmc1 = &sdhci;
 18                 mmc2 = &sdmmc1;                    17                 mmc2 = &sdmmc1;
 19         };                                         18         };
 20                                                    19 
 21         chosen: chosen {                           20         chosen: chosen {
 22                 stdout-path = "serial2:1500000     21                 stdout-path = "serial2:1500000n8";
 23         };                                         22         };
 24                                                    23 
 25         gmac1_clkin: external-gmac1-clock {        24         gmac1_clkin: external-gmac1-clock {
 26                 compatible = "fixed-clock";        25                 compatible = "fixed-clock";
 27                 clock-frequency = <125000000>;     26                 clock-frequency = <125000000>;
 28                 clock-output-names = "gmac1_cl     27                 clock-output-names = "gmac1_clkin";
 29                 #clock-cells = <0>;                28                 #clock-cells = <0>;
 30         };                                         29         };
 31                                                    30 
 32         hdmi-con {                                 31         hdmi-con {
 33                 compatible = "hdmi-connector";     32                 compatible = "hdmi-connector";
 34                 type = "a";                        33                 type = "a";
 35                                                    34 
 36                 port {                             35                 port {
 37                         hdmi_con_in: endpoint      36                         hdmi_con_in: endpoint {
 38                                 remote-endpoin     37                                 remote-endpoint = <&hdmi_out_con>;
 39                         };                         38                         };
 40                 };                                 39                 };
 41         };                                         40         };
 42                                                    41 
 43         leds {                                     42         leds {
 44                 compatible = "gpio-leds";          43                 compatible = "gpio-leds";
 45                                                    44 
 46                 led-user {                         45                 led-user {
 47                         label = "user-led";        46                         label = "user-led";
 48                         default-state = "on";      47                         default-state = "on";
 49                         gpios = <&gpio0 RK_PD3     48                         gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
 50                         linux,default-trigger      49                         linux,default-trigger = "heartbeat";
 51                         pinctrl-names = "defau     50                         pinctrl-names = "default";
 52                         pinctrl-0 = <&user_led     51                         pinctrl-0 = <&user_led_enable_h>;
 53                         retain-state-suspended     52                         retain-state-suspended;
 54                 };                                 53                 };
 55         };                                         54         };
 56                                                    55 
 57         rk809-sound {                          << 
 58                 compatible = "simple-audio-car << 
 59                 simple-audio-card,format = "i2 << 
 60                 simple-audio-card,name = "STAT << 
 61                 simple-audio-card,mclk-fs = <2 << 
 62                 status = "okay";               << 
 63                                                << 
 64                 simple-audio-card,cpu {        << 
 65                         sound-dai = <&i2s1_8ch << 
 66                 };                             << 
 67                                                << 
 68                 simple-audio-card,codec {      << 
 69                         sound-dai = <&rk809>;  << 
 70                 };                             << 
 71         };                                     << 
 72                                                << 
 73         sdio_pwrseq: sdio-pwrseq {                 56         sdio_pwrseq: sdio-pwrseq {
 74                 status = "okay";                   57                 status = "okay";
 75                 compatible = "mmc-pwrseq-simpl     58                 compatible = "mmc-pwrseq-simple";
 76                 clocks = <&rk809 1>;               59                 clocks = <&rk809 1>;
 77                 clock-names = "ext_clock";         60                 clock-names = "ext_clock";
 78                 pinctrl-names = "default";         61                 pinctrl-names = "default";
 79                 pinctrl-0 = <&wifi_enable_h>;      62                 pinctrl-0 = <&wifi_enable_h>;
 80                 reset-gpios = <&gpio2 RK_PB1 G     63                 reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
 81         };                                         64         };
 82                                                    65 
 83         usb_5v: usb-5v-regulator {                 66         usb_5v: usb-5v-regulator {
 84                 compatible = "regulator-fixed"     67                 compatible = "regulator-fixed";
 85                 regulator-name = "usb_5v";         68                 regulator-name = "usb_5v";
 86                 regulator-always-on;               69                 regulator-always-on;
 87                 regulator-boot-on;                 70                 regulator-boot-on;
 88                 regulator-min-microvolt = <500     71                 regulator-min-microvolt = <5000000>;
 89                 regulator-max-microvolt = <500     72                 regulator-max-microvolt = <5000000>;
 90         };                                         73         };
 91                                                    74 
 92         vcc5v0_sys: vcc5v0-sys-regulator {         75         vcc5v0_sys: vcc5v0-sys-regulator {
 93                 compatible = "regulator-fixed"     76                 compatible = "regulator-fixed";
 94                 regulator-name = "vcc5v0_sys";     77                 regulator-name = "vcc5v0_sys";
 95                 regulator-always-on;               78                 regulator-always-on;
 96                 regulator-boot-on;                 79                 regulator-boot-on;
 97                 regulator-min-microvolt = <500     80                 regulator-min-microvolt = <5000000>;
 98                 regulator-max-microvolt = <500     81                 regulator-max-microvolt = <5000000>;
 99                 vin-supply = <&usb_5v>;            82                 vin-supply = <&usb_5v>;
100         };                                         83         };
101                                                    84 
102         vcc3v3_pcie: vcc3v3-pcie-regulator {       85         vcc3v3_pcie: vcc3v3-pcie-regulator {
103                 compatible = "regulator-fixed"     86                 compatible = "regulator-fixed";
104                 enable-active-high;                87                 enable-active-high;
105                 gpio = <&gpio0 RK_PC4 GPIO_ACT     88                 gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
106                 pinctrl-names = "default";         89                 pinctrl-names = "default";
107                 pinctrl-0 = <&pcie_enable_h>;      90                 pinctrl-0 = <&pcie_enable_h>;
108                 regulator-name = "vcc3v3_pcie"     91                 regulator-name = "vcc3v3_pcie";
109                 regulator-min-microvolt = <330     92                 regulator-min-microvolt = <3300000>;
110                 regulator-max-microvolt = <330     93                 regulator-max-microvolt = <3300000>;
111                 vin-supply = <&vcc5v0_sys>;        94                 vin-supply = <&vcc5v0_sys>;
112         };                                         95         };
113                                                    96 
114         vcc3v3_sys: vcc3v3-sys-regulator {         97         vcc3v3_sys: vcc3v3-sys-regulator {
115                 compatible = "regulator-fixed"     98                 compatible = "regulator-fixed";
116                 regulator-name = "vcc3v3_sys";     99                 regulator-name = "vcc3v3_sys";
117                 regulator-min-microvolt = <330    100                 regulator-min-microvolt = <3300000>;
118                 regulator-max-microvolt = <330    101                 regulator-max-microvolt = <3300000>;
119                 regulator-always-on;              102                 regulator-always-on;
120                 vin-supply = <&vcc5v0_sys>;       103                 vin-supply = <&vcc5v0_sys>;
121         };                                        104         };
122                                                   105 
123         vcc5v0_usb30_host: vcc5v0-usb30-host-r    106         vcc5v0_usb30_host: vcc5v0-usb30-host-regulator {
124                 compatible = "regulator-fixed"    107                 compatible = "regulator-fixed";
125                 regulator-name = "vcc5v0_usb30    108                 regulator-name = "vcc5v0_usb30_host";
126                 enable-active-high;               109                 enable-active-high;
127                 gpio = <&gpio0 RK_PC5 GPIO_ACT    110                 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
128                 pinctrl-names = "default";        111                 pinctrl-names = "default";
129                 pinctrl-0 = <&vcc5v0_usb30_hos    112                 pinctrl-0 = <&vcc5v0_usb30_host_en_h>;
130                 regulator-always-on;              113                 regulator-always-on;
131                 regulator-min-microvolt = <500    114                 regulator-min-microvolt = <5000000>;
132                 regulator-max-microvolt = <500    115                 regulator-max-microvolt = <5000000>;
133                 vin-supply = <&vcc5v0_sys>;       116                 vin-supply = <&vcc5v0_sys>;
134         };                                        117         };
135                                                   118 
136         vcc5v0_usb_otg: vcc5v0-usb-otg-regulat    119         vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
137                 compatible = "regulator-fixed"    120                 compatible = "regulator-fixed";
138                 regulator-name = "vcc5v0_usb_o    121                 regulator-name = "vcc5v0_usb_otg";
139                 enable-active-high;               122                 enable-active-high;
140                 gpio = <&gpio0 RK_PC6 GPIO_ACT    123                 gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
141                 pinctrl-names = "default";        124                 pinctrl-names = "default";
142                 pinctrl-0 = <&vcc5v0_usb_otg_e    125                 pinctrl-0 = <&vcc5v0_usb_otg_en_h>;
143                 regulator-always-on;              126                 regulator-always-on;
144                 regulator-min-microvolt = <500    127                 regulator-min-microvolt = <5000000>;
145                 regulator-max-microvolt = <500    128                 regulator-max-microvolt = <5000000>;
146                 vin-supply = <&vcc5v0_sys>;       129                 vin-supply = <&vcc5v0_sys>;
147         };                                        130         };
148 };                                                131 };
149                                                   132 
150 &combphy1 {                                       133 &combphy1 {
151         status = "okay";                          134         status = "okay";
152 };                                                135 };
153                                                   136 
154 &combphy2 {                                       137 &combphy2 {
155         status = "okay";                          138         status = "okay";
156 };                                                139 };
157                                                   140 
158 &cpu0 {                                           141 &cpu0 {
159         cpu-supply = <&vdd_cpu>;                  142         cpu-supply = <&vdd_cpu>;
160 };                                                143 };
161                                                   144 
162 &cpu1 {                                           145 &cpu1 {
163         cpu-supply = <&vdd_cpu>;                  146         cpu-supply = <&vdd_cpu>;
164 };                                                147 };
165                                                   148 
166 &cpu2 {                                           149 &cpu2 {
167         cpu-supply = <&vdd_cpu>;                  150         cpu-supply = <&vdd_cpu>;
168 };                                                151 };
169                                                   152 
170 &cpu3 {                                           153 &cpu3 {
171         cpu-supply = <&vdd_cpu>;                  154         cpu-supply = <&vdd_cpu>;
172 };                                                155 };
173                                                   156 
174 &gmac1 {                                          157 &gmac1 {
175         assigned-clocks = <&cru SCLK_GMAC1_RX_    158         assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
176         assigned-clock-parents = <&cru SCLK_GM    159         assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
177         clock_in_out = "input";                   160         clock_in_out = "input";
178         phy-mode = "rgmii";                       161         phy-mode = "rgmii";
179         phy-supply = <&vcc_3v3>;                  162         phy-supply = <&vcc_3v3>;
180         pinctrl-names = "default";                163         pinctrl-names = "default";
181         pinctrl-0 = <&gmac1m0_miim                164         pinctrl-0 = <&gmac1m0_miim
182                      &gmac1m0_tx_bus2             165                      &gmac1m0_tx_bus2
183                      &gmac1m0_rx_bus2             166                      &gmac1m0_rx_bus2
184                      &gmac1m0_rgmii_clk           167                      &gmac1m0_rgmii_clk
185                      &gmac1m0_clkinout            168                      &gmac1m0_clkinout
186                      &gmac1m0_rgmii_bus>;         169                      &gmac1m0_rgmii_bus>;
187         snps,reset-gpio = <&gpio0 RK_PB7 GPIO_    170         snps,reset-gpio = <&gpio0 RK_PB7 GPIO_ACTIVE_LOW>;
188         snps,reset-active-low;                    171         snps,reset-active-low;
189         /* Reset time is 20ms, 100ms for rtl82    172         /* Reset time is 20ms, 100ms for rtl8211f */
190         snps,reset-delays-us = <0 20000 100000    173         snps,reset-delays-us = <0 20000 100000>;
191         tx_delay = <0x4f>;                        174         tx_delay = <0x4f>;
192         rx_delay = <0x24>;                        175         rx_delay = <0x24>;
193         phy-handle = <&rgmii_phy1>;               176         phy-handle = <&rgmii_phy1>;
194         status = "okay";                          177         status = "okay";
195 };                                                178 };
196                                                   179 
197 &gpu {                                            180 &gpu {
198         mali-supply = <&vdd_gpu>;                 181         mali-supply = <&vdd_gpu>;
199         status = "okay";                          182         status = "okay";
200 };                                                183 };
201                                                   184 
202 &hdmi {                                           185 &hdmi {
203         avdd-0v9-supply = <&vdda0v9_image>;       186         avdd-0v9-supply = <&vdda0v9_image>;
204         avdd-1v8-supply = <&vcca1v8_image>;       187         avdd-1v8-supply = <&vcca1v8_image>;
205         status = "okay";                          188         status = "okay";
206 };                                                189 };
207                                                   190 
208 &hdmi_in {                                        191 &hdmi_in {
209         hdmi_in_vp0: endpoint {                   192         hdmi_in_vp0: endpoint {
210                 remote-endpoint = <&vp0_out_hd    193                 remote-endpoint = <&vp0_out_hdmi>;
211         };                                        194         };
212 };                                                195 };
213                                                   196 
214 &hdmi_out {                                       197 &hdmi_out {
215         hdmi_out_con: endpoint {                  198         hdmi_out_con: endpoint {
216                 remote-endpoint = <&hdmi_con_i    199                 remote-endpoint = <&hdmi_con_in>;
217         };                                        200         };
218 };                                                201 };
219                                                   202 
220 &hdmi_sound {                                  << 
221         status = "okay";                       << 
222 };                                             << 
223                                                << 
224 &i2c0 {                                           203 &i2c0 {
225         status = "okay";                          204         status = "okay";
226                                                   205 
227         vdd_cpu: regulator@1c {                   206         vdd_cpu: regulator@1c {
228                 compatible = "tcs,tcs4525";       207                 compatible = "tcs,tcs4525";
229                 reg = <0x1c>;                     208                 reg = <0x1c>;
230                 fcs,suspend-voltage-selector =    209                 fcs,suspend-voltage-selector = <1>;
231                 regulator-name = "vdd_cpu";       210                 regulator-name = "vdd_cpu";
232                 regulator-min-microvolt = <800    211                 regulator-min-microvolt = <800000>;
233                 regulator-max-microvolt = <115    212                 regulator-max-microvolt = <1150000>;
234                 regulator-ramp-delay = <2300>;    213                 regulator-ramp-delay = <2300>;
235                 regulator-always-on;              214                 regulator-always-on;
236                 regulator-boot-on;                215                 regulator-boot-on;
237                 vin-supply = <&vcc5v0_sys>;       216                 vin-supply = <&vcc5v0_sys>;
238                                                   217 
239                 regulator-state-mem {             218                 regulator-state-mem {
240                         regulator-off-in-suspe    219                         regulator-off-in-suspend;
241                 };                                220                 };
242         };                                        221         };
243                                                   222 
244         rk809: pmic@20 {                          223         rk809: pmic@20 {
245                 compatible = "rockchip,rk809";    224                 compatible = "rockchip,rk809";
246                 reg = <0x20>;                     225                 reg = <0x20>;
247                 interrupt-parent = <&gpio0>;      226                 interrupt-parent = <&gpio0>;
248                 interrupts = <RK_PA7 IRQ_TYPE_    227                 interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>;
249                 clock-output-names = "rk808-cl    228                 clock-output-names = "rk808-clkout1", "rk808-clkout2";
250                 assigned-clocks = <&cru I2S1_M !! 229 
251                 assigned-clock-parents = <&cru << 
252                 clock-names = "mclk";          << 
253                 clocks = <&cru I2S1_MCLKOUT_TX << 
254                 pinctrl-names = "default";        230                 pinctrl-names = "default";
255                 pinctrl-0 = <&pmic_int>, <&i2s !! 231                 pinctrl-0 = <&pmic_int>;
256                 rockchip,system-power-controll    232                 rockchip,system-power-controller;
257                 wakeup-source;                    233                 wakeup-source;
258                 #clock-cells = <1>;               234                 #clock-cells = <1>;
259                 #sound-dai-cells = <0>;        << 
260                                                   235 
261                 vcc1-supply = <&vcc3v3_sys>;      236                 vcc1-supply = <&vcc3v3_sys>;
262                 vcc2-supply = <&vcc3v3_sys>;      237                 vcc2-supply = <&vcc3v3_sys>;
263                 vcc3-supply = <&vcc3v3_sys>;      238                 vcc3-supply = <&vcc3v3_sys>;
264                 vcc4-supply = <&vcc3v3_sys>;      239                 vcc4-supply = <&vcc3v3_sys>;
265                 vcc5-supply = <&vcc3v3_sys>;      240                 vcc5-supply = <&vcc3v3_sys>;
266                 vcc6-supply = <&vcc3v3_sys>;      241                 vcc6-supply = <&vcc3v3_sys>;
267                 vcc7-supply = <&vcc3v3_sys>;      242                 vcc7-supply = <&vcc3v3_sys>;
268                 vcc8-supply = <&vcc3v3_sys>;      243                 vcc8-supply = <&vcc3v3_sys>;
269                 vcc9-supply = <&vcc3v3_sys>;      244                 vcc9-supply = <&vcc3v3_sys>;
270                                                   245 
271                 codec {                        << 
272                         rockchip,mic-in-differ << 
273                 };                             << 
274                                                << 
275                 regulators {                      246                 regulators {
276                         vdd_log: DCDC_REG1 {      247                         vdd_log: DCDC_REG1 {
277                                 regulator-name    248                                 regulator-name = "vdd_log";
278                                 regulator-alwa    249                                 regulator-always-on;
279                                 regulator-boot    250                                 regulator-boot-on;
280                                 regulator-min-    251                                 regulator-min-microvolt = <500000>;
281                                 regulator-max-    252                                 regulator-max-microvolt = <1350000>;
                                                   >> 253                                 regulator-init-microvolt = <900000>;
282                                 regulator-ramp    254                                 regulator-ramp-delay = <6001>;
283                                                   255 
284                                 regulator-stat    256                                 regulator-state-mem {
285                                         regula    257                                         regulator-on-in-suspend;
286                                         regula    258                                         regulator-suspend-microvolt = <900000>;
287                                 };                259                                 };
288                         };                        260                         };
289                                                   261 
290                         vdd_gpu: DCDC_REG2 {      262                         vdd_gpu: DCDC_REG2 {
291                                 regulator-name    263                                 regulator-name = "vdd_gpu";
292                                 regulator-min-    264                                 regulator-min-microvolt = <900000>;
293                                 regulator-max-    265                                 regulator-max-microvolt = <1350000>;
                                                   >> 266                                 regulator-init-microvolt = <900000>;
294                                 regulator-ramp    267                                 regulator-ramp-delay = <6001>;
295                                                   268 
296                                 regulator-stat    269                                 regulator-state-mem {
297                                         regula    270                                         regulator-off-in-suspend;
298                                         regula    271                                         regulator-suspend-microvolt = <900000>;
299                                 };                272                                 };
300                         };                        273                         };
301                                                   274 
302                         vcc_ddr: DCDC_REG3 {      275                         vcc_ddr: DCDC_REG3 {
303                                 regulator-name    276                                 regulator-name = "vcc_ddr";
304                                 regulator-alwa    277                                 regulator-always-on;
305                                 regulator-boot    278                                 regulator-boot-on;
306                                 regulator-min-    279                                 regulator-min-microvolt = <1100000>;
307                                 regulator-max-    280                                 regulator-max-microvolt = <1100000>;
308                                 regulator-init    281                                 regulator-initial-mode = <0x2>;
309                                 regulator-stat    282                                 regulator-state-mem {
310                                         regula    283                                         regulator-on-in-suspend;
311                                 };                284                                 };
312                         };                        285                         };
313                                                   286 
314                         vdd_npu: DCDC_REG4 {      287                         vdd_npu: DCDC_REG4 {
315                                 regulator-name    288                                 regulator-name = "vdd_npu";
316                                 regulator-min-    289                                 regulator-min-microvolt = <900000>;
317                                 regulator-max-    290                                 regulator-max-microvolt = <1350000>;
318                                 regulator-init    291                                 regulator-initial-mode = <0x2>;
319                                 regulator-stat    292                                 regulator-state-mem {
320                                         regula    293                                         regulator-off-in-suspend;
321                                 };                294                                 };
322                         };                        295                         };
323                                                   296 
324                         vcc_1v8: DCDC_REG5 {      297                         vcc_1v8: DCDC_REG5 {
325                                 regulator-name    298                                 regulator-name = "vcc_1v8";
326                                 regulator-alwa    299                                 regulator-always-on;
327                                 regulator-boot    300                                 regulator-boot-on;
328                                 regulator-min-    301                                 regulator-min-microvolt = <1800000>;
329                                 regulator-max-    302                                 regulator-max-microvolt = <1800000>;
330                                                   303 
331                                 regulator-stat    304                                 regulator-state-mem {
332                                         regula    305                                         regulator-on-in-suspend;
333                                         regula    306                                         regulator-suspend-microvolt = <1800000>;
334                                 };                307                                 };
335                         };                        308                         };
336                                                   309 
337                         vdda0v9_image: LDO_REG    310                         vdda0v9_image: LDO_REG1 {
338                                 regulator-name    311                                 regulator-name = "vdda0v9_image";
339                                 regulator-alwa    312                                 regulator-always-on;
340                                 regulator-boot    313                                 regulator-boot-on;
341                                 regulator-min-    314                                 regulator-min-microvolt = <900000>;
342                                 regulator-max-    315                                 regulator-max-microvolt = <900000>;
343                                                   316 
344                                 regulator-stat    317                                 regulator-state-mem {
345                                         regula    318                                         regulator-on-in-suspend;
346                                         regula    319                                         regulator-suspend-microvolt = <900000>;
347                                 };                320                                 };
348                         };                        321                         };
349                                                   322 
350                         vdda_0v9: LDO_REG2 {      323                         vdda_0v9: LDO_REG2 {
351                                 regulator-name    324                                 regulator-name = "vdda_0v9";
352                                 regulator-alwa    325                                 regulator-always-on;
353                                 regulator-boot    326                                 regulator-boot-on;
354                                 regulator-min-    327                                 regulator-min-microvolt = <900000>;
355                                 regulator-max-    328                                 regulator-max-microvolt = <900000>;
356                                                   329 
357                                 regulator-stat    330                                 regulator-state-mem {
358                                         regula    331                                         regulator-on-in-suspend;
359                                         regula    332                                         regulator-suspend-microvolt = <900000>;
360                                 };                333                                 };
361                         };                        334                         };
362                                                   335 
363                         vdda0v9_pmu: LDO_REG3     336                         vdda0v9_pmu: LDO_REG3 {
364                                 regulator-name    337                                 regulator-name = "vdda0v9_pmu";
365                                 regulator-alwa    338                                 regulator-always-on;
366                                 regulator-boot    339                                 regulator-boot-on;
367                                 regulator-min-    340                                 regulator-min-microvolt = <900000>;
368                                 regulator-max-    341                                 regulator-max-microvolt = <900000>;
369                                 regulator-stat    342                                 regulator-state-mem {
370                                         regula    343                                         regulator-on-in-suspend;
371                                         regula    344                                         regulator-suspend-microvolt = <900000>;
372                                 };                345                                 };
373                         };                        346                         };
374                                                   347 
375                         vccio_acodec: LDO_REG4    348                         vccio_acodec: LDO_REG4 {
376                                 regulator-name    349                                 regulator-name = "vccio_acodec";
377                                 regulator-alwa    350                                 regulator-always-on;
378                                 regulator-boot    351                                 regulator-boot-on;
379                                 regulator-min-    352                                 regulator-min-microvolt = <3300000>;
380                                 regulator-max-    353                                 regulator-max-microvolt = <3300000>;
381                                                   354 
382                                 regulator-stat    355                                 regulator-state-mem {
383                                         regula    356                                         regulator-on-in-suspend;
384                                         regula    357                                         regulator-suspend-microvolt = <3300000>;
385                                                   358 
386                                 };                359                                 };
387                         };                        360                         };
388                                                   361 
389                         vccio_sd: LDO_REG5 {      362                         vccio_sd: LDO_REG5 {
390                                 regulator-name    363                                 regulator-name = "vccio_sd";
391                                 regulator-alwa    364                                 regulator-always-on;
392                                 regulator-boot    365                                 regulator-boot-on;
393                                 regulator-min-    366                                 regulator-min-microvolt = <1800000>;
394                                 regulator-max-    367                                 regulator-max-microvolt = <3300000>;
395                                                   368 
396                                 regulator-stat    369                                 regulator-state-mem {
397                                         regula    370                                         regulator-on-in-suspend;
398                                         regula    371                                         regulator-suspend-microvolt = <3300000>;
399                                 };                372                                 };
400                         };                        373                         };
401                                                   374 
402                         vcc3v3_pmu: LDO_REG6 {    375                         vcc3v3_pmu: LDO_REG6 {
403                                 regulator-name    376                                 regulator-name = "vcc3v3_pmu";
404                                 regulator-alwa    377                                 regulator-always-on;
405                                 regulator-boot    378                                 regulator-boot-on;
406                                 regulator-min-    379                                 regulator-min-microvolt = <3300000>;
407                                 regulator-max-    380                                 regulator-max-microvolt = <3300000>;
408                                                   381 
409                                 regulator-stat    382                                 regulator-state-mem {
410                                         regula    383                                         regulator-on-in-suspend;
411                                         regula    384                                         regulator-suspend-microvolt = <3300000>;
412                                 };                385                                 };
413                         };                        386                         };
414                                                   387 
415                         vcca_1v8: LDO_REG7 {      388                         vcca_1v8: LDO_REG7 {
416                                 regulator-name    389                                 regulator-name = "vcca_1v8";
417                                 regulator-alwa    390                                 regulator-always-on;
418                                 regulator-boot    391                                 regulator-boot-on;
419                                 regulator-min-    392                                 regulator-min-microvolt = <1800000>;
420                                 regulator-max-    393                                 regulator-max-microvolt = <1800000>;
421                                                   394 
422                                 regulator-stat    395                                 regulator-state-mem {
423                                         regula    396                                         regulator-on-in-suspend;
424                                         regula    397                                         regulator-suspend-microvolt = <1800000>;
425                                 };                398                                 };
426                         };                        399                         };
427                                                   400 
428                         vcca1v8_pmu: LDO_REG8     401                         vcca1v8_pmu: LDO_REG8 {
429                                 regulator-name    402                                 regulator-name = "vcca1v8_pmu";
430                                 regulator-alwa    403                                 regulator-always-on;
431                                 regulator-boot    404                                 regulator-boot-on;
432                                 regulator-min-    405                                 regulator-min-microvolt = <1800000>;
433                                 regulator-max-    406                                 regulator-max-microvolt = <1800000>;
434                                                   407 
435                                 regulator-stat    408                                 regulator-state-mem {
436                                         regula    409                                         regulator-on-in-suspend;
437                                         regula    410                                         regulator-suspend-microvolt = <1800000>;
438                                 };                411                                 };
439                         };                        412                         };
440                                                   413 
441                         vcca1v8_image: LDO_REG    414                         vcca1v8_image: LDO_REG9 {
442                                 regulator-name    415                                 regulator-name = "vcca1v8_image";
443                                 regulator-alwa    416                                 regulator-always-on;
444                                 regulator-boot    417                                 regulator-boot-on;
445                                 regulator-min-    418                                 regulator-min-microvolt = <1800000>;
446                                 regulator-max-    419                                 regulator-max-microvolt = <1800000>;
447                                                   420 
448                                 regulator-stat    421                                 regulator-state-mem {
449                                         regula    422                                         regulator-on-in-suspend;
450                                         regula    423                                         regulator-suspend-microvolt = <1800000>;
451                                 };                424                                 };
452                         };                        425                         };
453                                                   426 
454                         vcc_3v3: SWITCH_REG1 {    427                         vcc_3v3: SWITCH_REG1 {
455                                 regulator-boot    428                                 regulator-boot-on;
456                                 regulator-name    429                                 regulator-name = "vcc3v3";
457                         };                        430                         };
458                                                   431 
459                         vcc3v3_sd: SWITCH_REG2    432                         vcc3v3_sd: SWITCH_REG2 {
460                                 regulator-name    433                                 regulator-name = "vcc3v3_sd";
461                                 regulator-alwa    434                                 regulator-always-on;
462                                 regulator-boot    435                                 regulator-boot-on;
463                         };                        436                         };
464                 };                                437                 };
465         };                                        438         };
466 };                                                439 };
467                                                   440 
468 &i2c1 {                                           441 &i2c1 {
469         status = "okay";                          442         status = "okay";
470 };                                                443 };
471                                                   444 
472 &i2c2 {                                           445 &i2c2 {
473         status = "okay";                          446         status = "okay";
474 };                                                447 };
475                                                   448 
476 &i2c3 {                                           449 &i2c3 {
477         pinctrl-names = "default";                450         pinctrl-names = "default";
478         pinctrl-0 = <&i2c3m0_xfer>;               451         pinctrl-0 = <&i2c3m0_xfer>;
479         status = "okay";                       << 
480 };                                             << 
481                                                << 
482 &i2s0_8ch {                                    << 
483         status = "okay";                       << 
484 };                                             << 
485                                                << 
486 &i2s1_8ch {                                    << 
487         pinctrl-0 = <&i2s1m0_sclktx &i2s1m0_sc << 
488                         &i2s1m0_lrcktx &i2s1m0 << 
489                         &i2s1m0_sdi0   &i2s1m0 << 
490         rockchip,trcm-sync-tx-only;            << 
491         status = "okay";                          452         status = "okay";
492 };                                                453 };
493                                                   454 
494 &mdio1 {                                          455 &mdio1 {
495         rgmii_phy1: ethernet-phy@0 {              456         rgmii_phy1: ethernet-phy@0 {
496                 compatible = "ethernet-phy-iee    457                 compatible = "ethernet-phy-ieee802.3-c22";
497                 reg = <0x0>;                      458                 reg = <0x0>;
498         };                                        459         };
499 };                                                460 };
500                                                   461 
501 &pcie2x1 {                                        462 &pcie2x1 {
502         pinctrl-names = "default";                463         pinctrl-names = "default";
503         pinctrl-0 = <&pcie_reset_h>;              464         pinctrl-0 = <&pcie_reset_h>;
504         reset-gpios = <&gpio1 RK_PB2 GPIO_ACTI    465         reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
505         vpcie3v3-supply = <&vcc3v3_pcie>;         466         vpcie3v3-supply = <&vcc3v3_pcie>;
506         status = "okay";                          467         status = "okay";
507 };                                                468 };
508                                                   469 
509 &pinctrl {                                        470 &pinctrl {
510         bt {                                      471         bt {
511                 bt_enable_h: bt-enable-h {        472                 bt_enable_h: bt-enable-h {
512                         rockchip,pins = <0 RK_    473                         rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
513                 };                                474                 };
514                                                   475 
515                 bt_host_wake_l: bt-host-wake-l    476                 bt_host_wake_l: bt-host-wake-l {
516                         rockchip,pins = <0 RK_    477                         rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_down>;
517                 };                                478                 };
518                                                   479 
519                 bt_wake_l: bt-wake-l {            480                 bt_wake_l: bt-wake-l {
520                         rockchip,pins = <0 RK_    481                         rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
521                 };                                482                 };
522         };                                        483         };
523                                                   484 
524         leds {                                    485         leds {
525                 user_led_enable_h: user-led-en    486                 user_led_enable_h: user-led-enable-h {
526                         rockchip,pins = <0 RK_    487                         rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
527                 };                                488                 };
528         };                                        489         };
529                                                   490 
530         pcie {                                    491         pcie {
531                 pcie_enable_h: pcie-enable-h {    492                 pcie_enable_h: pcie-enable-h {
532                         rockchip,pins = <0 RK_    493                         rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
533                 };                                494                 };
534                                                   495 
535                 pcie_reset_h: pcie-reset-h {      496                 pcie_reset_h: pcie-reset-h {
536                         rockchip,pins = <1 RK_    497                         rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
537                 };                                498                 };
538         };                                        499         };
539                                                   500 
540         pmic {                                    501         pmic {
541                 pmic_int: pmic_int {              502                 pmic_int: pmic_int {
542                         rockchip,pins =           503                         rockchip,pins =
543                                 <0 RK_PA3 RK_F    504                                 <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
544                 };                                505                 };
545         };                                        506         };
546                                                   507 
547         sdio-pwrseq {                             508         sdio-pwrseq {
548                 wifi_enable_h: wifi-enable-h {    509                 wifi_enable_h: wifi-enable-h {
549                         rockchip,pins = <2 RK_    510                         rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
550                 };                                511                 };
551         };                                        512         };
552                                                   513 
553         usb {                                     514         usb {
554                 vcc5v0_usb30_host_en_h: vcc5v0    515                 vcc5v0_usb30_host_en_h: vcc5v0-usb30-host-en_h {
555                         rockchip,pins = <0 RK_    516                         rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
556                 };                                517                 };
557                                                   518 
558                 vcc5v0_usb_otg_en_h: vcc5v0-us    519                 vcc5v0_usb_otg_en_h: vcc5v0-usb-otg-en_h {
559                         rockchip,pins = <0 RK_    520                         rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
560                 };                                521                 };
561         };                                        522         };
562 };                                                523 };
563                                                   524 
564 &pmu_io_domains {                                 525 &pmu_io_domains {
565         status = "okay";                          526         status = "okay";
566         pmuio1-supply = <&vcc3v3_pmu>;            527         pmuio1-supply = <&vcc3v3_pmu>;
567         pmuio2-supply = <&vcc3v3_pmu>;            528         pmuio2-supply = <&vcc3v3_pmu>;
568         vccio1-supply = <&vccio_acodec>;          529         vccio1-supply = <&vccio_acodec>;
569         vccio2-supply = <&vcc_1v8>;               530         vccio2-supply = <&vcc_1v8>;
570         vccio3-supply = <&vccio_sd>;              531         vccio3-supply = <&vccio_sd>;
571         vccio4-supply = <&vcc_1v8>;               532         vccio4-supply = <&vcc_1v8>;
572         vccio5-supply = <&vcc_3v3>;               533         vccio5-supply = <&vcc_3v3>;
573         vccio6-supply = <&vcc_1v8>;               534         vccio6-supply = <&vcc_1v8>;
574         vccio7-supply = <&vcc_3v3>;               535         vccio7-supply = <&vcc_3v3>;
575 };                                                536 };
576                                                   537 
577 &sdhci {                                          538 &sdhci {
578         bus-width = <8>;                          539         bus-width = <8>;
579         mmc-hs200-1_8v;                           540         mmc-hs200-1_8v;
580         non-removable;                            541         non-removable;
581         vmmc-supply = <&vcc_3v3>;                 542         vmmc-supply = <&vcc_3v3>;
582         vqmmc-supply = <&vcc_1v8>;                543         vqmmc-supply = <&vcc_1v8>;
583         status = "okay";                          544         status = "okay";
584 };                                                545 };
585                                                   546 
586 &sdmmc0 {                                         547 &sdmmc0 {
587         bus-width = <4>;                          548         bus-width = <4>;
588         cap-sd-highspeed;                         549         cap-sd-highspeed;
589         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_    550         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
590         disable-wp;                               551         disable-wp;
591         pinctrl-names = "default";                552         pinctrl-names = "default";
592         pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk     553         pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
593         sd-uhs-sdr104;                            554         sd-uhs-sdr104;
594         vmmc-supply = <&vcc3v3_sd>;               555         vmmc-supply = <&vcc3v3_sd>;
595         vqmmc-supply = <&vccio_sd>;               556         vqmmc-supply = <&vccio_sd>;
596         status = "okay";                          557         status = "okay";
597 };                                                558 };
598                                                   559 
599 &sdmmc1 {                                         560 &sdmmc1 {
600         bus-width = <4>;                          561         bus-width = <4>;
601         cap-sd-highspeed;                         562         cap-sd-highspeed;
602         cap-sdio-irq;                             563         cap-sdio-irq;
603         keep-power-in-suspend;                    564         keep-power-in-suspend;
604         mmc-pwrseq = <&sdio_pwrseq>;              565         mmc-pwrseq = <&sdio_pwrseq>;
605         vmmc-supply = <&vcc3v3_sys>;              566         vmmc-supply = <&vcc3v3_sys>;
606         vqmmc-supply = <&vcca1v8_pmu>;            567         vqmmc-supply = <&vcca1v8_pmu>;
607         pinctrl-names = "default";                568         pinctrl-names = "default";
608         pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd     569         pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
609         status = "okay";                          570         status = "okay";
610 };                                                571 };
611                                                   572 
612 &tsadc {                                          573 &tsadc {
613         status = "okay";                          574         status = "okay";
614 };                                                575 };
615                                                   576 
616 &uart0 {                                          577 &uart0 {
617         pinctrl-names = "default";                578         pinctrl-names = "default";
618         pinctrl-0 = <&uart0_xfer>;                579         pinctrl-0 = <&uart0_xfer>;
619         status = "okay";                          580         status = "okay";
620 };                                                581 };
621                                                   582 
622 &uart1 {                                          583 &uart1 {
623         pinctrl-names = "default";                584         pinctrl-names = "default";
624         pinctrl-0 = <&uart1m0_xfer &uart1m0_ct    585         pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
625         status = "okay";                          586         status = "okay";
626         uart-has-rtscts;                          587         uart-has-rtscts;
627                                                   588 
628         bluetooth {                               589         bluetooth {
629                 compatible = "brcm,bcm43438-bt    590                 compatible = "brcm,bcm43438-bt";
630                 clocks = <&rk809 1>;              591                 clocks = <&rk809 1>;
631                 clock-names = "lpo";              592                 clock-names = "lpo";
632                 device-wakeup-gpios = <&gpio2     593                 device-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
633                 host-wakeup-gpios = <&gpio2 RK    594                 host-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
634                 shutdown-gpios = <&gpio2 RK_PB    595                 shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
635                 pinctrl-names = "default";        596                 pinctrl-names = "default";
636                 pinctrl-0 = <&bt_host_wake_l &    597                 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
637                 vbat-supply = <&vcc3v3_sys>;      598                 vbat-supply = <&vcc3v3_sys>;
638                 vddio-supply = <&vcca1v8_pmu>;    599                 vddio-supply = <&vcca1v8_pmu>;
639         };                                        600         };
640 };                                                601 };
641                                                   602 
642 &uart2 {                                          603 &uart2 {
643         status = "okay";                          604         status = "okay";
644 };                                                605 };
645                                                   606 
646 &usb2phy0_host {                                  607 &usb2phy0_host {
647         phy-supply = <&vcc5v0_usb30_host>;        608         phy-supply = <&vcc5v0_usb30_host>;
648         status = "okay";                          609         status = "okay";
649 };                                                610 };
650                                                   611 
651 &usb2phy0_otg {                                   612 &usb2phy0_otg {
652         phy-supply = <&vcc5v0_usb_otg>;           613         phy-supply = <&vcc5v0_usb_otg>;
653         status = "okay";                          614         status = "okay";
654 };                                                615 };
655                                                   616 
656 &usb2phy1_otg {                                   617 &usb2phy1_otg {
657         phy-supply = <&vcc5v0_usb30_host>;        618         phy-supply = <&vcc5v0_usb30_host>;
658         status = "okay";                          619         status = "okay";
659 };                                                620 };
660                                                   621 
661 &usb2phy0 {                                       622 &usb2phy0 {
662         status = "okay";                          623         status = "okay";
663 };                                                624 };
664                                                   625 
665 &usb2phy1 {                                       626 &usb2phy1 {
666         status = "okay";                          627         status = "okay";
667 };                                                628 };
668                                                   629 
669 &usb_host0_xhci {                                 630 &usb_host0_xhci {
670         status = "okay";                          631         status = "okay";
671 };                                                632 };
672                                                   633 
673 &usb_host1_xhci {                                 634 &usb_host1_xhci {
674         status = "okay";                          635         status = "okay";
675 };                                                636 };
676                                                   637 
677 &usb_host0_ehci {                                 638 &usb_host0_ehci {
678         status = "okay";                          639         status = "okay";
679 };                                                640 };
680                                                   641 
681 &usb_host0_ohci {                                 642 &usb_host0_ohci {
682         status = "okay";                          643         status = "okay";
683 };                                                644 };
684                                                   645 
685 &vop {                                            646 &vop {
686         assigned-clocks = <&cru DCLK_VOP0>, <&    647         assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
687         assigned-clock-parents = <&pmucru PLL_    648         assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
688         status = "okay";                          649         status = "okay";
689 };                                                650 };
690                                                   651 
691 &vop_mmu {                                        652 &vop_mmu {
692         status = "okay";                          653         status = "okay";
693 };                                                654 };
694                                                   655 
695 &vp0 {                                            656 &vp0 {
696         vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_E    657         vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
697                 reg = <ROCKCHIP_VOP2_EP_HDMI0>    658                 reg = <ROCKCHIP_VOP2_EP_HDMI0>;
698                 remote-endpoint = <&hdmi_in_vp    659                 remote-endpoint = <&hdmi_in_vp0>;
699         };                                        660         };
700 };                                                661 };
                                                      

~ [ 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