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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3568-qnap-ts433.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/rk3568-qnap-ts433.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3568-qnap-ts433.dts (Architecture sparc64)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2021 Rockchip Electronics Co.      3  * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
  4  * Copyright (c) 2024 Uwe Kleine-König             4  * Copyright (c) 2024 Uwe Kleine-König
  5  */                                                 5  */
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8                                                     8 
  9 #include <dt-bindings/input/input.h>                9 #include <dt-bindings/input/input.h>
 10 #include <dt-bindings/leds/common.h>               10 #include <dt-bindings/leds/common.h>
 11 #include <dt-bindings/gpio/gpio.h>                 11 #include <dt-bindings/gpio/gpio.h>
 12 #include "rk3568.dtsi"                             12 #include "rk3568.dtsi"
 13                                                    13 
 14 / {                                                14 / {
 15         model = "Qnap TS-433-4G NAS System 4-B     15         model = "Qnap TS-433-4G NAS System 4-Bay";
 16         compatible = "qnap,ts433", "rockchip,r     16         compatible = "qnap,ts433", "rockchip,rk3568";
 17                                                    17 
 18         aliases {                                  18         aliases {
 19                 ethernet0 = &gmac0;                19                 ethernet0 = &gmac0;
 20                 mmc0 = &sdhci;                     20                 mmc0 = &sdhci;
 21                 rtc0 = &rtc_rv8263;                21                 rtc0 = &rtc_rv8263;
 22         };                                         22         };
 23                                                    23 
 24         chosen {                                   24         chosen {
 25                 stdout-path = "serial2:115200n     25                 stdout-path = "serial2:115200n8";
 26         };                                         26         };
 27                                                    27 
 28         keys {                                     28         keys {
 29                 compatible = "gpio-keys";          29                 compatible = "gpio-keys";
 30                 pinctrl-0 = <&copy_button_pin>     30                 pinctrl-0 = <&copy_button_pin>, <&reset_button_pin>;
 31                 pinctrl-names = "default";         31                 pinctrl-names = "default";
 32                                                    32 
 33                 key-copy {                         33                 key-copy {
 34                         label = "copy";            34                         label = "copy";
 35                         gpios = <&gpio0 RK_PB6     35                         gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
 36                         linux,code = <KEY_COPY     36                         linux,code = <KEY_COPY>;
 37                 };                                 37                 };
 38                                                    38 
 39                 key-reset {                        39                 key-reset {
 40                         label = "reset";           40                         label = "reset";
 41                         gpios = <&gpio0 RK_PB5     41                         gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_LOW>;
 42                         linux,code = <KEY_REST     42                         linux,code = <KEY_RESTART>;
 43                 };                                 43                 };
 44         };                                         44         };
 45                                                    45 
 46         leds {                                     46         leds {
 47                 compatible = "gpio-leds";          47                 compatible = "gpio-leds";
 48                                                    48 
 49                 led-0 {                            49                 led-0 {
 50                         color = <LED_COLOR_ID_     50                         color = <LED_COLOR_ID_GREEN>;
 51                         function = LED_FUNCTIO     51                         function = LED_FUNCTION_DISK;
 52                         gpios = <&gpio1 RK_PD5     52                         gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
 53                         linux,default-trigger      53                         linux,default-trigger = "disk-activity";
 54                         pinctrl-names = "defau     54                         pinctrl-names = "default";
 55                         pinctrl-0 = <&hdd1_led     55                         pinctrl-0 = <&hdd1_led_pin>;
 56                 };                                 56                 };
 57                                                    57 
 58                 led-1 {                            58                 led-1 {
 59                         color = <LED_COLOR_ID_     59                         color = <LED_COLOR_ID_GREEN>;
 60                         function = LED_FUNCTIO     60                         function = LED_FUNCTION_DISK;
 61                         gpios = <&gpio1 RK_PD6     61                         gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>;
 62                         linux,default-trigger      62                         linux,default-trigger = "disk-activity";
 63                         pinctrl-names = "defau     63                         pinctrl-names = "default";
 64                         pinctrl-0 = <&hdd2_led     64                         pinctrl-0 = <&hdd2_led_pin>;
 65                 };                                 65                 };
 66                                                    66 
 67                 led-2 {                            67                 led-2 {
 68                         color = <LED_COLOR_ID_     68                         color = <LED_COLOR_ID_GREEN>;
 69                         function = LED_FUNCTIO     69                         function = LED_FUNCTION_DISK;
 70                         gpios = <&gpio1 RK_PD7     70                         gpios = <&gpio1 RK_PD7 GPIO_ACTIVE_LOW>;
 71                         linux,default-trigger      71                         linux,default-trigger = "disk-activity";
 72                         pinctrl-names = "defau     72                         pinctrl-names = "default";
 73                         pinctrl-0 = <&hdd3_led     73                         pinctrl-0 = <&hdd3_led_pin>;
 74                 };                                 74                 };
 75                                                    75 
 76                 led-3 {                            76                 led-3 {
 77                         color = <LED_COLOR_ID_     77                         color = <LED_COLOR_ID_GREEN>;
 78                         function = LED_FUNCTIO     78                         function = LED_FUNCTION_DISK;
 79                         gpios = <&gpio2 RK_PA0     79                         gpios = <&gpio2 RK_PA0 GPIO_ACTIVE_LOW>;
 80                         linux,default-trigger      80                         linux,default-trigger = "disk-activity";
 81                         pinctrl-names = "defau     81                         pinctrl-names = "default";
 82                         pinctrl-0 = <&hdd4_led     82                         pinctrl-0 = <&hdd4_led_pin>;
 83                 };                                 83                 };
 84         };                                         84         };
 85                                                    85 
 86         dc_12v: regulator-dc-12v {                 86         dc_12v: regulator-dc-12v {
 87                 compatible = "regulator-fixed"     87                 compatible = "regulator-fixed";
 88                 regulator-name = "dc_12v";         88                 regulator-name = "dc_12v";
 89                 regulator-always-on;               89                 regulator-always-on;
 90                 regulator-boot-on;                 90                 regulator-boot-on;
 91                 regulator-min-microvolt = <120     91                 regulator-min-microvolt = <12000000>;
 92                 regulator-max-microvolt = <120     92                 regulator-max-microvolt = <12000000>;
 93         };                                         93         };
 94                                                    94 
 95         vcc3v3_pcie: regulator-vcc3v3-pcie {       95         vcc3v3_pcie: regulator-vcc3v3-pcie {
 96                 compatible = "regulator-fixed"     96                 compatible = "regulator-fixed";
 97                 regulator-name = "vcc3v3_pcie"     97                 regulator-name = "vcc3v3_pcie";
 98                 regulator-min-microvolt = <330     98                 regulator-min-microvolt = <3300000>;
 99                 regulator-max-microvolt = <330     99                 regulator-max-microvolt = <3300000>;
100                 enable-active-high;               100                 enable-active-high;
101                 gpios = <&gpio0 RK_PD4 GPIO_AC    101                 gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
102                 vin-supply = <&dc_12v>;           102                 vin-supply = <&dc_12v>;
103         };                                        103         };
104                                                   104 
105         vcc3v3_sys: regulator-vcc3v3-sys {        105         vcc3v3_sys: regulator-vcc3v3-sys {
106                 compatible = "regulator-fixed"    106                 compatible = "regulator-fixed";
107                 regulator-name = "vcc3v3_sys";    107                 regulator-name = "vcc3v3_sys";
108                 regulator-always-on;              108                 regulator-always-on;
109                 regulator-boot-on;                109                 regulator-boot-on;
110                 regulator-min-microvolt = <330    110                 regulator-min-microvolt = <3300000>;
111                 regulator-max-microvolt = <330    111                 regulator-max-microvolt = <3300000>;
112                 vin-supply = <&dc_12v>;           112                 vin-supply = <&dc_12v>;
113         };                                        113         };
114                                                   114 
115         vcc5v0_host: regulator-vcc5v0-host {      115         vcc5v0_host: regulator-vcc5v0-host {
116                 compatible = "regulator-fixed"    116                 compatible = "regulator-fixed";
117                 enable-active-high;               117                 enable-active-high;
118                 pinctrl-names = "default";        118                 pinctrl-names = "default";
119                 pinctrl-0 = <&vcc5v0_host_en>;    119                 pinctrl-0 = <&vcc5v0_host_en>;
120                 gpio = <&gpio0 RK_PA6 GPIO_ACT    120                 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
121                 regulator-name = "vcc5v0_host"    121                 regulator-name = "vcc5v0_host";
122                 regulator-always-on;              122                 regulator-always-on;
123                 regulator-boot-on;                123                 regulator-boot-on;
124                 regulator-min-microvolt = <500    124                 regulator-min-microvolt = <5000000>;
125                 regulator-max-microvolt = <500    125                 regulator-max-microvolt = <5000000>;
126                 vin-supply = <&vcc5v0_usb>;       126                 vin-supply = <&vcc5v0_usb>;
127         };                                        127         };
128                                                   128 
129         vcc5v0_otg: regulator-vcc5v0-otg {        129         vcc5v0_otg: regulator-vcc5v0-otg {
130                 compatible = "regulator-fixed"    130                 compatible = "regulator-fixed";
131                 enable-active-high;               131                 enable-active-high;
132                 gpio = <&gpio0 RK_PA5 GPIO_ACT    132                 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
133                 pinctrl-names = "default";        133                 pinctrl-names = "default";
134                 pinctrl-0 = <&vcc5v0_otg_en>;     134                 pinctrl-0 = <&vcc5v0_otg_en>;
135                 regulator-name = "vcc5v0_otg";    135                 regulator-name = "vcc5v0_otg";
136                 regulator-always-on;              136                 regulator-always-on;
137                 regulator-boot-on;                137                 regulator-boot-on;
138                 regulator-min-microvolt = <500    138                 regulator-min-microvolt = <5000000>;
139                 regulator-max-microvolt = <500    139                 regulator-max-microvolt = <5000000>;
140                 vin-supply = <&vcc5v0_usb>;       140                 vin-supply = <&vcc5v0_usb>;
141         };                                        141         };
142                                                   142 
143         vcc5v0_sys: regulator-vcc5v0-sys {        143         vcc5v0_sys: regulator-vcc5v0-sys {
144                 compatible = "regulator-fixed"    144                 compatible = "regulator-fixed";
145                 regulator-name = "vcc5v0_sys";    145                 regulator-name = "vcc5v0_sys";
146                 regulator-always-on;              146                 regulator-always-on;
147                 regulator-boot-on;                147                 regulator-boot-on;
148                 regulator-min-microvolt = <500    148                 regulator-min-microvolt = <5000000>;
149                 regulator-max-microvolt = <500    149                 regulator-max-microvolt = <5000000>;
150                 vin-supply = <&dc_12v>;           150                 vin-supply = <&dc_12v>;
151         };                                        151         };
152                                                   152 
153         vcc5v0_usb: regulator-vcc5v0-usb {        153         vcc5v0_usb: regulator-vcc5v0-usb {
154                 compatible = "regulator-fixed"    154                 compatible = "regulator-fixed";
155                 regulator-name = "vcc5v0_usb";    155                 regulator-name = "vcc5v0_usb";
156                 regulator-always-on;              156                 regulator-always-on;
157                 regulator-boot-on;                157                 regulator-boot-on;
158                 regulator-min-microvolt = <500    158                 regulator-min-microvolt = <5000000>;
159                 regulator-max-microvolt = <500    159                 regulator-max-microvolt = <5000000>;
160                 vin-supply = <&dc_12v>;           160                 vin-supply = <&dc_12v>;
161         };                                        161         };
162 };                                                162 };
163                                                   163 
164 /* connected to usb_host0_xhci */                 164 /* connected to usb_host0_xhci */
165 &combphy0 {                                       165 &combphy0 {
166         status = "okay";                          166         status = "okay";
167 };                                                167 };
168                                                   168 
169 /* connected to sata1 */                          169 /* connected to sata1 */
170 &combphy1 {                                       170 &combphy1 {
171         status = "okay";                          171         status = "okay";
172 };                                                172 };
173                                                   173 
174 /* connected to sata2 */                          174 /* connected to sata2 */
175 &combphy2 {                                       175 &combphy2 {
176         status = "okay";                          176         status = "okay";
177 };                                                177 };
178                                                   178 
179 &cpu0 {                                           179 &cpu0 {
180         cpu-supply = <&vdd_cpu>;                  180         cpu-supply = <&vdd_cpu>;
181 };                                                181 };
182                                                   182 
183 &cpu1 {                                           183 &cpu1 {
184         cpu-supply = <&vdd_cpu>;                  184         cpu-supply = <&vdd_cpu>;
185 };                                                185 };
186                                                   186 
187 &cpu2 {                                           187 &cpu2 {
188         cpu-supply = <&vdd_cpu>;                  188         cpu-supply = <&vdd_cpu>;
189 };                                                189 };
190                                                   190 
191 &cpu3 {                                           191 &cpu3 {
192         cpu-supply = <&vdd_cpu>;                  192         cpu-supply = <&vdd_cpu>;
193 };                                                193 };
194                                                   194 
195 &gmac0 {                                          195 &gmac0 {
196         assigned-clocks = <&cru SCLK_GMAC0_RX_    196         assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
197         assigned-clock-parents = <&cru SCLK_GM    197         assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_2TOP>;
198         assigned-clock-rates = <0>, <125000000    198         assigned-clock-rates = <0>, <125000000>;
199         clock_in_out = "output";                  199         clock_in_out = "output";
200         phy-handle = <&rgmii_phy0>;               200         phy-handle = <&rgmii_phy0>;
201         phy-mode = "rgmii-id";                    201         phy-mode = "rgmii-id";
202         pinctrl-names = "default";                202         pinctrl-names = "default";
203         pinctrl-0 = <&gmac0_miim                  203         pinctrl-0 = <&gmac0_miim
204                      &gmac0_tx_bus2               204                      &gmac0_tx_bus2
205                      &gmac0_rx_bus2               205                      &gmac0_rx_bus2
206                      &gmac0_rgmii_clk             206                      &gmac0_rgmii_clk
207                      &gmac0_rgmii_bus>;           207                      &gmac0_rgmii_bus>;
208         status = "okay";                          208         status = "okay";
209 };                                                209 };
210                                                   210 
211 &gpu {                                            211 &gpu {
212         mali-supply = <&vdd_gpu>;                 212         mali-supply = <&vdd_gpu>;
213         status = "okay";                          213         status = "okay";
214 };                                                214 };
215                                                   215 
216 &i2c0 {                                           216 &i2c0 {
217         status = "okay";                          217         status = "okay";
218                                                   218 
219         pmic@20 {                                 219         pmic@20 {
220                 compatible = "rockchip,rk809";    220                 compatible = "rockchip,rk809";
221                 reg = <0x20>;                     221                 reg = <0x20>;
222                 interrupt-parent = <&gpio0>;      222                 interrupt-parent = <&gpio0>;
223                 interrupts = <RK_PA3 IRQ_TYPE_    223                 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
224                 #clock-cells = <1>;               224                 #clock-cells = <1>;
225                 pinctrl-names = "default";        225                 pinctrl-names = "default";
226                 pinctrl-0 = <&pmic_int_l>;        226                 pinctrl-0 = <&pmic_int_l>;
227                 system-power-controller;          227                 system-power-controller;
228                 vcc1-supply = <&vcc3v3_sys>;      228                 vcc1-supply = <&vcc3v3_sys>;
229                 vcc2-supply = <&vcc3v3_sys>;      229                 vcc2-supply = <&vcc3v3_sys>;
230                 vcc3-supply = <&vcc3v3_sys>;      230                 vcc3-supply = <&vcc3v3_sys>;
231                 vcc4-supply = <&vcc3v3_sys>;      231                 vcc4-supply = <&vcc3v3_sys>;
232                 vcc5-supply = <&vcc3v3_sys>;      232                 vcc5-supply = <&vcc3v3_sys>;
233                 vcc6-supply = <&vcc3v3_sys>;      233                 vcc6-supply = <&vcc3v3_sys>;
234                 vcc7-supply = <&vcc3v3_sys>;      234                 vcc7-supply = <&vcc3v3_sys>;
235                 vcc8-supply = <&vcc3v3_sys>;      235                 vcc8-supply = <&vcc3v3_sys>;
236                 vcc9-supply = <&vcc3v3_sys>;      236                 vcc9-supply = <&vcc3v3_sys>;
237                 wakeup-source;                    237                 wakeup-source;
238                                                   238 
239                 regulators {                      239                 regulators {
240                         vdd_logic: DCDC_REG1 {    240                         vdd_logic: DCDC_REG1 {
241                                 regulator-name    241                                 regulator-name = "vdd_logic";
242                                 regulator-alwa    242                                 regulator-always-on;
243                                 regulator-boot    243                                 regulator-boot-on;
244                                 regulator-init    244                                 regulator-initial-mode = <0x2>;
245                                 regulator-min-    245                                 regulator-min-microvolt = <500000>;
246                                 regulator-max-    246                                 regulator-max-microvolt = <1350000>;
247                                 regulator-ramp    247                                 regulator-ramp-delay = <6001>;
248                                                   248 
249                                 regulator-stat    249                                 regulator-state-mem {
250                                         regula    250                                         regulator-off-in-suspend;
251                                 };                251                                 };
252                         };                        252                         };
253                                                   253 
254                         vdd_gpu: DCDC_REG2 {      254                         vdd_gpu: DCDC_REG2 {
255                                 regulator-name    255                                 regulator-name = "vdd_gpu";
256                                 regulator-alwa    256                                 regulator-always-on;
257                                 regulator-init    257                                 regulator-initial-mode = <0x2>;
258                                 regulator-min-    258                                 regulator-min-microvolt = <500000>;
259                                 regulator-max-    259                                 regulator-max-microvolt = <1350000>;
260                                 regulator-ramp    260                                 regulator-ramp-delay = <6001>;
261                                                   261 
262                                 regulator-stat    262                                 regulator-state-mem {
263                                         regula    263                                         regulator-off-in-suspend;
264                                 };                264                                 };
265                         };                        265                         };
266                                                   266 
267                         vcc_ddr: DCDC_REG3 {      267                         vcc_ddr: DCDC_REG3 {
268                                 regulator-name    268                                 regulator-name = "vcc_ddr";
269                                 regulator-alwa    269                                 regulator-always-on;
270                                 regulator-boot    270                                 regulator-boot-on;
271                                 regulator-init    271                                 regulator-initial-mode = <0x2>;
272                                                   272 
273                                 regulator-stat    273                                 regulator-state-mem {
274                                         regula    274                                         regulator-on-in-suspend;
275                                 };                275                                 };
276                         };                        276                         };
277                                                   277 
278                         vdd_npu: DCDC_REG4 {      278                         vdd_npu: DCDC_REG4 {
279                                 regulator-name    279                                 regulator-name = "vdd_npu";
280                                 regulator-init    280                                 regulator-initial-mode = <0x2>;
281                                 regulator-min-    281                                 regulator-min-microvolt = <500000>;
282                                 regulator-max-    282                                 regulator-max-microvolt = <1350000>;
283                                 regulator-ramp    283                                 regulator-ramp-delay = <6001>;
284                                                   284 
285                                 regulator-stat    285                                 regulator-state-mem {
286                                         regula    286                                         regulator-off-in-suspend;
287                                 };                287                                 };
288                         };                        288                         };
289                                                   289 
290                         vcc_1v8: DCDC_REG5 {      290                         vcc_1v8: DCDC_REG5 {
291                                 regulator-name    291                                 regulator-name = "vcc_1v8";
292                                 regulator-alwa    292                                 regulator-always-on;
293                                 regulator-boot    293                                 regulator-boot-on;
294                                 regulator-min-    294                                 regulator-min-microvolt = <1800000>;
295                                 regulator-max-    295                                 regulator-max-microvolt = <1800000>;
296                                                   296 
297                                 regulator-stat    297                                 regulator-state-mem {
298                                         regula    298                                         regulator-off-in-suspend;
299                                 };                299                                 };
300                         };                        300                         };
301                                                   301 
302                         vdda0v9_image: LDO_REG    302                         vdda0v9_image: LDO_REG1 {
303                                 regulator-name    303                                 regulator-name = "vdda0v9_image";
304                                 regulator-alwa    304                                 regulator-always-on;
305                                 regulator-min-    305                                 regulator-min-microvolt = <900000>;
306                                 regulator-max-    306                                 regulator-max-microvolt = <900000>;
307                                                   307 
308                                 regulator-stat    308                                 regulator-state-mem {
309                                         regula    309                                         regulator-off-in-suspend;
310                                 };                310                                 };
311                         };                        311                         };
312                                                   312 
313                         vdda_0v9: LDO_REG2 {      313                         vdda_0v9: LDO_REG2 {
314                                 regulator-name    314                                 regulator-name = "vdda_0v9";
315                                 regulator-alwa    315                                 regulator-always-on;
316                                 regulator-boot    316                                 regulator-boot-on;
317                                 regulator-min-    317                                 regulator-min-microvolt = <900000>;
318                                 regulator-max-    318                                 regulator-max-microvolt = <900000>;
319                                                   319 
320                                 regulator-stat    320                                 regulator-state-mem {
321                                         regula    321                                         regulator-off-in-suspend;
322                                 };                322                                 };
323                         };                        323                         };
324                                                   324 
325                         vdda0v9_pmu: LDO_REG3     325                         vdda0v9_pmu: LDO_REG3 {
326                                 regulator-name    326                                 regulator-name = "vdda0v9_pmu";
327                                 regulator-alwa    327                                 regulator-always-on;
328                                 regulator-boot    328                                 regulator-boot-on;
329                                 regulator-min-    329                                 regulator-min-microvolt = <900000>;
330                                 regulator-max-    330                                 regulator-max-microvolt = <900000>;
331                                                   331 
332                                 regulator-stat    332                                 regulator-state-mem {
333                                         regula    333                                         regulator-on-in-suspend;
334                                         regula    334                                         regulator-suspend-microvolt = <900000>;
335                                 };                335                                 };
336                         };                        336                         };
337                                                   337 
338                         vccio_acodec: LDO_REG4    338                         vccio_acodec: LDO_REG4 {
339                                 regulator-name    339                                 regulator-name = "vccio_acodec";
340                                 regulator-alwa    340                                 regulator-always-on;
341                                 regulator-boot    341                                 regulator-boot-on;
342                                 regulator-min-    342                                 regulator-min-microvolt = <3300000>;
343                                 regulator-max-    343                                 regulator-max-microvolt = <3300000>;
344                                                   344 
345                                 regulator-stat    345                                 regulator-state-mem {
346                                         regula    346                                         regulator-off-in-suspend;
347                                 };                347                                 };
348                         };                        348                         };
349                                                   349 
350                         vccio_sd: LDO_REG5 {      350                         vccio_sd: LDO_REG5 {
351                                 regulator-name    351                                 regulator-name = "vccio_sd";
352                                 regulator-min-    352                                 regulator-min-microvolt = <1800000>;
353                                 regulator-max-    353                                 regulator-max-microvolt = <3300000>;
354                                                   354 
355                                 regulator-stat    355                                 regulator-state-mem {
356                                         regula    356                                         regulator-off-in-suspend;
357                                 };                357                                 };
358                         };                        358                         };
359                                                   359 
360                         vcc3v3_pmu: LDO_REG6 {    360                         vcc3v3_pmu: LDO_REG6 {
361                                 regulator-name    361                                 regulator-name = "vcc3v3_pmu";
362                                 regulator-alwa    362                                 regulator-always-on;
363                                 regulator-boot    363                                 regulator-boot-on;
364                                 regulator-min-    364                                 regulator-min-microvolt = <3300000>;
365                                 regulator-max-    365                                 regulator-max-microvolt = <3300000>;
366                                                   366 
367                                 regulator-stat    367                                 regulator-state-mem {
368                                         regula    368                                         regulator-on-in-suspend;
369                                         regula    369                                         regulator-suspend-microvolt = <3300000>;
370                                 };                370                                 };
371                         };                        371                         };
372                                                   372 
373                         vcca_1v8: LDO_REG7 {      373                         vcca_1v8: LDO_REG7 {
374                                 regulator-name    374                                 regulator-name = "vcca_1v8";
375                                 regulator-alwa    375                                 regulator-always-on;
376                                 regulator-boot    376                                 regulator-boot-on;
377                                 regulator-min-    377                                 regulator-min-microvolt = <1800000>;
378                                 regulator-max-    378                                 regulator-max-microvolt = <1800000>;
379                                                   379 
380                                 regulator-stat    380                                 regulator-state-mem {
381                                         regula    381                                         regulator-off-in-suspend;
382                                 };                382                                 };
383                         };                        383                         };
384                                                   384 
385                         vcca1v8_pmu: LDO_REG8     385                         vcca1v8_pmu: LDO_REG8 {
386                                 regulator-name    386                                 regulator-name = "vcca1v8_pmu";
387                                 regulator-alwa    387                                 regulator-always-on;
388                                 regulator-boot    388                                 regulator-boot-on;
389                                 regulator-min-    389                                 regulator-min-microvolt = <1800000>;
390                                 regulator-max-    390                                 regulator-max-microvolt = <1800000>;
391                                                   391 
392                                 regulator-stat    392                                 regulator-state-mem {
393                                         regula    393                                         regulator-on-in-suspend;
394                                         regula    394                                         regulator-suspend-microvolt = <1800000>;
395                                 };                395                                 };
396                         };                        396                         };
397                                                   397 
398                         vcca1v8_image: LDO_REG    398                         vcca1v8_image: LDO_REG9 {
399                                 regulator-name    399                                 regulator-name = "vcca1v8_image";
400                                 regulator-alwa    400                                 regulator-always-on;
401                                 regulator-min-    401                                 regulator-min-microvolt = <1800000>;
402                                 regulator-max-    402                                 regulator-max-microvolt = <1800000>;
403                                                   403 
404                                 regulator-stat    404                                 regulator-state-mem {
405                                         regula    405                                         regulator-off-in-suspend;
406                                 };                406                                 };
407                         };                        407                         };
408                                                   408 
409                         vcc_3v3: SWITCH_REG1 {    409                         vcc_3v3: SWITCH_REG1 {
410                                 regulator-name    410                                 regulator-name = "vcc_3v3";
411                                 regulator-alwa    411                                 regulator-always-on;
412                                 regulator-boot    412                                 regulator-boot-on;
413                                                   413 
414                                 regulator-stat    414                                 regulator-state-mem {
415                                         regula    415                                         regulator-off-in-suspend;
416                                 };                416                                 };
417                         };                        417                         };
418                                                   418 
419                         vcc3v3_sd: SWITCH_REG2    419                         vcc3v3_sd: SWITCH_REG2 {
420                                 regulator-name    420                                 regulator-name = "vcc3v3_sd";
421                                 /*                421                                 /*
422                                  * turning thi    422                                  * turning this off, breaks access to both
423                                  * PCIe contro    423                                  * PCIe controllers, refclk generator perhaps
424                                  */               424                                  */
425                                 regulator-alwa    425                                 regulator-always-on;
426                                 regulator-boot    426                                 regulator-boot-on;
427                                                   427 
428                                 regulator-stat    428                                 regulator-state-mem {
429                                         regula    429                                         regulator-off-in-suspend;
430                                 };                430                                 };
431                         };                        431                         };
432                 };                                432                 };
433         };                                        433         };
434                                                   434 
435         vdd_cpu: regulator@40 {                   435         vdd_cpu: regulator@40 {
436                 compatible = "silergy,syr827";    436                 compatible = "silergy,syr827";
437                 reg = <0x40>;                     437                 reg = <0x40>;
438                 fcs,suspend-voltage-selector =    438                 fcs,suspend-voltage-selector = <1>;
439                 regulator-name = "vdd_cpu";       439                 regulator-name = "vdd_cpu";
440                 regulator-always-on;              440                 regulator-always-on;
441                 regulator-boot-on;                441                 regulator-boot-on;
442                 regulator-min-microvolt = <712    442                 regulator-min-microvolt = <712500>;
443                 regulator-max-microvolt = <139    443                 regulator-max-microvolt = <1390000>;
444                 regulator-ramp-delay = <2300>;    444                 regulator-ramp-delay = <2300>;
445                 vin-supply = <&vcc5v0_sys>;       445                 vin-supply = <&vcc5v0_sys>;
446         };                                        446         };
447 };                                                447 };
448                                                   448 
449 &i2c1 {                                           449 &i2c1 {
450         status = "okay";                          450         status = "okay";
451                                                   451 
452         rtc_rv8263: rtc@51 {                      452         rtc_rv8263: rtc@51 {
453                 compatible = "microcrystal,rv8    453                 compatible = "microcrystal,rv8263";
454                 reg = <0x51>;                     454                 reg = <0x51>;
455                 wakeup-source;                    455                 wakeup-source;
456         };                                        456         };
457                                                   457 
458         /* eeprom for vital-product-data on th    458         /* eeprom for vital-product-data on the mainboard */
459         eeprom@54 {                               459         eeprom@54 {
460                 compatible = "giantec,gt24c04a    460                 compatible = "giantec,gt24c04a", "atmel,24c04";
461                 reg = <0x54>;                     461                 reg = <0x54>;
462                 label = "VPD_MB";                 462                 label = "VPD_MB";
463                 num-addresses = <2>;              463                 num-addresses = <2>;
464                 pagesize = <16>;                  464                 pagesize = <16>;
465                 read-only;                        465                 read-only;
466         };                                        466         };
467                                                   467 
468         /* eeprom for vital-product-data on th    468         /* eeprom for vital-product-data on the backplane */
469         eeprom@56 {                               469         eeprom@56 {
470                 compatible = "giantec,gt24c04a    470                 compatible = "giantec,gt24c04a", "atmel,24c04";
471                 reg = <0x56>;                     471                 reg = <0x56>;
472                 label = "VPD_BP";                 472                 label = "VPD_BP";
473                 num-addresses = <2>;              473                 num-addresses = <2>;
474                 pagesize = <16>;                  474                 pagesize = <16>;
475                 read-only;                        475                 read-only;
476         };                                        476         };
477 };                                                477 };
478                                                   478 
479 &mdio0 {                                          479 &mdio0 {
480         rgmii_phy0: ethernet-phy@0 {              480         rgmii_phy0: ethernet-phy@0 {
481                 compatible = "ethernet-phy-iee    481                 compatible = "ethernet-phy-ieee802.3-c22";
482                 reg = <0x0>;                      482                 reg = <0x0>;
483         };                                        483         };
484 };                                                484 };
485                                                   485 
486 &pcie30phy {                                      486 &pcie30phy {
487         data-lanes = <1 2>;                       487         data-lanes = <1 2>;
488         status = "okay";                          488         status = "okay";
489 };                                                489 };
490                                                   490 
491 /* Connected to a JMicron AHCI SATA controller    491 /* Connected to a JMicron AHCI SATA controller */
492 &pcie3x1 {                                        492 &pcie3x1 {
493         reset-gpios = <&gpio0 RK_PC7 GPIO_ACTI    493         reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
494         vpcie3v3-supply = <&vcc3v3_pcie>;         494         vpcie3v3-supply = <&vcc3v3_pcie>;
495         status = "okay";                          495         status = "okay";
496 };                                                496 };
497                                                   497 
498 /* Connected to the 2.5G NIC for the upper net    498 /* Connected to the 2.5G NIC for the upper network jack */
499 &pcie3x2 {                                        499 &pcie3x2 {
500         num-lanes = <1>;                          500         num-lanes = <1>;
501         reset-gpios = <&gpio2 RK_PD6 GPIO_ACTI    501         reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
502         vpcie3v3-supply = <&vcc3v3_pcie>;         502         vpcie3v3-supply = <&vcc3v3_pcie>;
503         status = "okay";                          503         status = "okay";
504 };                                                504 };
505                                                   505 
506 &pinctrl {                                        506 &pinctrl {
507         keys {                                    507         keys {
508                 copy_button_pin: copy-button-p    508                 copy_button_pin: copy-button-pin {
509                         rockchip,pins = <0 RK_    509                         rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up>;
510                 };                                510                 };
511                                                   511 
512                 reset_button_pin: reset-button    512                 reset_button_pin: reset-button-pin {
513                         rockchip,pins = <0 RK_    513                         rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
514                 };                                514                 };
515         };                                        515         };
516                                                   516 
517         leds {                                    517         leds {
518                 hdd1_led_pin: hdd1-led-pin {      518                 hdd1_led_pin: hdd1-led-pin {
519                         rockchip,pins = <1 RK_    519                         rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>;
520                 };                                520                 };
521                                                   521 
522                 hdd2_led_pin: hdd2-led-pin {      522                 hdd2_led_pin: hdd2-led-pin {
523                         rockchip,pins = <1 RK_    523                         rockchip,pins = <1 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>;
524                 };                                524                 };
525                                                   525 
526                 hdd3_led_pin: hdd3-led-pin {      526                 hdd3_led_pin: hdd3-led-pin {
527                         rockchip,pins = <1 RK_    527                         rockchip,pins = <1 RK_PD7 RK_FUNC_GPIO &pcfg_pull_up>;
528                 };                                528                 };
529                                                   529 
530                 hdd4_led_pin: hdd4_led-pin {      530                 hdd4_led_pin: hdd4_led-pin {
531                         rockchip,pins = <2 RK_    531                         rockchip,pins = <2 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
532                 };                                532                 };
533         };                                        533         };
534                                                   534 
535         pmic {                                    535         pmic {
536                 pmic_int_l: pmic-int-l {          536                 pmic_int_l: pmic-int-l {
537                         rockchip,pins = <0 RK_    537                         rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
538                 };                                538                 };
539         };                                        539         };
540                                                   540 
541         usb {                                     541         usb {
542                 vcc5v0_host_en: vcc5v0-host-en    542                 vcc5v0_host_en: vcc5v0-host-en {
543                         rockchip,pins = <0 RK_    543                         rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
544                 };                                544                 };
545                                                   545 
546                 vcc5v0_otg_en: vcc5v0-otg-en {    546                 vcc5v0_otg_en: vcc5v0-otg-en {
547                         rockchip,pins = <0 RK_    547                         rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
548                 };                                548                 };
549         };                                        549         };
550 };                                                550 };
551                                                   551 
552 &pmu_io_domains {                                 552 &pmu_io_domains {
553         vccio4-supply = <&vcc_1v8>;               553         vccio4-supply = <&vcc_1v8>;
554         vccio6-supply = <&vcc_1v8>;               554         vccio6-supply = <&vcc_1v8>;
555         status = "okay";                          555         status = "okay";
556 };                                                556 };
557                                                   557 
558 &sata1 {                                          558 &sata1 {
559         status = "okay";                          559         status = "okay";
560 };                                                560 };
561                                                   561 
562 &sata2 {                                          562 &sata2 {
563         status = "okay";                          563         status = "okay";
564 };                                                564 };
565                                                   565 
566 &sdhci {                                          566 &sdhci {
567         bus-width = <8>;                          567         bus-width = <8>;
568         max-frequency = <200000000>;              568         max-frequency = <200000000>;
569         non-removable;                            569         non-removable;
570         status = "okay";                          570         status = "okay";
571 };                                                571 };
572                                                   572 
573 &tsadc {                                          573 &tsadc {
574         rockchip,hw-tshut-mode = <1>;             574         rockchip,hw-tshut-mode = <1>;
575         rockchip,hw-tshut-polarity = <0>;         575         rockchip,hw-tshut-polarity = <0>;
576         status = "okay";                          576         status = "okay";
577 };                                                577 };
578                                                   578 
579 /*                                                579 /*
580  * Connected to an MCU, that provides access t    580  * Connected to an MCU, that provides access to more LEDs,
581  * buzzer, fan control and more.                  581  * buzzer, fan control and more.
582  */                                               582  */
583 &uart0 {                                          583 &uart0 {
584         status = "okay";                          584         status = "okay";
585 };                                                585 };
586                                                   586 
587 /*                                                587 /*
588  * Pins available on CN3 connector at TTL volt    588  * Pins available on CN3 connector at TTL voltage level (3V3).
589  * ,_  _.                                         589  * ,_  _.
590  * |1234|  1=TX 2=VCC                             590  * |1234|  1=TX 2=VCC
591  * `----'  3=RX 4=GND                             591  * `----'  3=RX 4=GND
592  */                                               592  */
593 &uart2 {                                          593 &uart2 {
594         status = "okay";                          594         status = "okay";
595 };                                                595 };
596                                                   596 
597 &usb2phy0 {                                       597 &usb2phy0 {
598         status = "okay";                          598         status = "okay";
599 };                                                599 };
600                                                   600 
601 /* connected to usb_host0_xhci */                 601 /* connected to usb_host0_xhci */
602 &usb2phy0_otg {                                   602 &usb2phy0_otg {
603         phy-supply = <&vcc5v0_otg>;               603         phy-supply = <&vcc5v0_otg>;
604         status = "okay";                          604         status = "okay";
605 };                                                605 };
606                                                   606 
607 &usb2phy1 {                                       607 &usb2phy1 {
608         status = "okay";                          608         status = "okay";
609 };                                                609 };
610                                                   610 
611 /* connected to usb_host1_ehci/ohci */            611 /* connected to usb_host1_ehci/ohci */
612 &usb2phy1_host {                                  612 &usb2phy1_host {
613         phy-supply = <&vcc5v0_host>;              613         phy-supply = <&vcc5v0_host>;
614         status = "okay";                          614         status = "okay";
615 };                                                615 };
616                                                   616 
617 /* connected to usb_host0_ehci/ohci */            617 /* connected to usb_host0_ehci/ohci */
618 &usb2phy1_otg {                                   618 &usb2phy1_otg {
619         phy-supply = <&vcc5v0_host>;              619         phy-supply = <&vcc5v0_host>;
620         status = "okay";                          620         status = "okay";
621 };                                                621 };
622                                                   622 
623 /* right port backside */                         623 /* right port backside */
624 &usb_host0_ehci {                                 624 &usb_host0_ehci {
625         status = "okay";                          625         status = "okay";
626 };                                                626 };
627                                                   627 
628 &usb_host0_ohci {                                 628 &usb_host0_ohci {
629         status = "okay";                          629         status = "okay";
630 };                                                630 };
631                                                   631 
632 /* front port */                                  632 /* front port */
633 &usb_host0_xhci {                                 633 &usb_host0_xhci {
634         dr_mode = "host";                         634         dr_mode = "host";
635         status = "okay";                          635         status = "okay";
636 };                                                636 };
637                                                   637 
638 /* left port backside */                          638 /* left port backside */
639 &usb_host1_ehci {                                 639 &usb_host1_ehci {
640         status = "okay";                          640         status = "okay";
641 };                                                641 };
642                                                   642 
643 &usb_host1_ohci {                                 643 &usb_host1_ohci {
644         status = "okay";                          644         status = "okay";
645 };                                                645 };
                                                      

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