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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3399-kobol-helios64.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/rk3399-kobol-helios64.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3399-kobol-helios64.dts (Version linux-6.8.12)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2020 Aditya Prayoga <aditya@ko      3  * Copyright (c) 2020 Aditya Prayoga <aditya@kobol.io>
  4  */                                                 4  */
  5                                                     5 
  6 /*                                                  6 /*
  7  * The Kobol Helios64 is a board designed to o      7  * The Kobol Helios64 is a board designed to operate as a NAS and optionally
  8  * ships with an enclosing that can host five       8  * ships with an enclosing that can host five 2.5" hard disks.
  9  *                                                  9  *
 10  * See https://wiki.kobol.io/helios64/intro/ f     10  * See https://wiki.kobol.io/helios64/intro/ for further details.
 11  */                                                11  */
 12                                                    12 
 13 /dts-v1/;                                          13 /dts-v1/;
 14 #include "rk3399.dtsi"                             14 #include "rk3399.dtsi"
                                                   >>  15 #include "rk3399-opp.dtsi"
 15                                                    16 
 16 / {                                                17 / {
 17         model = "Kobol Helios64";                  18         model = "Kobol Helios64";
 18         compatible = "kobol,helios64", "rockch     19         compatible = "kobol,helios64", "rockchip,rk3399";
 19                                                    20 
 20         aliases {                                  21         aliases {
 21                 ethernet0 = &gmac;                 22                 ethernet0 = &gmac;
 22                 mmc0 = &sdmmc;                     23                 mmc0 = &sdmmc;
 23                 mmc1 = &sdhci;                     24                 mmc1 = &sdhci;
                                                   >>  25                 spi1 = &spi1;
                                                   >>  26                 spi2 = &spi2;
                                                   >>  27                 spi5 = &spi5;
 24         };                                         28         };
 25                                                    29 
 26         avdd_0v9_s0: avdd-0v9-s0 {                 30         avdd_0v9_s0: avdd-0v9-s0 {
 27                 compatible = "regulator-fixed"     31                 compatible = "regulator-fixed";
 28                 regulator-name = "avdd_0v9_s0"     32                 regulator-name = "avdd_0v9_s0";
 29                 regulator-always-on;               33                 regulator-always-on;
 30                 regulator-boot-on;                 34                 regulator-boot-on;
 31                 regulator-min-microvolt = <900     35                 regulator-min-microvolt = <900000>;
 32                 regulator-max-microvolt = <900     36                 regulator-max-microvolt = <900000>;
 33                 vin-supply = <&vcc1v8_sys_s3>;     37                 vin-supply = <&vcc1v8_sys_s3>;
 34         };                                         38         };
 35                                                    39 
 36         avdd_1v8_s0: avdd-1v8-s0 {                 40         avdd_1v8_s0: avdd-1v8-s0 {
 37                 compatible = "regulator-fixed"     41                 compatible = "regulator-fixed";
 38                 regulator-name = "avdd_1v8_s0"     42                 regulator-name = "avdd_1v8_s0";
 39                 regulator-always-on;               43                 regulator-always-on;
 40                 regulator-boot-on;                 44                 regulator-boot-on;
 41                 regulator-min-microvolt = <180     45                 regulator-min-microvolt = <1800000>;
 42                 regulator-max-microvolt = <180     46                 regulator-max-microvolt = <1800000>;
 43                 vin-supply = <&vcc3v3_sys_s3>;     47                 vin-supply = <&vcc3v3_sys_s3>;
 44         };                                         48         };
 45                                                    49 
 46         chosen {                                   50         chosen {
 47                 stdout-path = "serial2:1500000     51                 stdout-path = "serial2:1500000n8";
 48         };                                         52         };
 49                                                    53 
 50         clkin_gmac: external-gmac-clock {          54         clkin_gmac: external-gmac-clock {
 51                 compatible = "fixed-clock";        55                 compatible = "fixed-clock";
 52                 clock-frequency = <125000000>;     56                 clock-frequency = <125000000>;
 53                 clock-output-names = "clkin_gm     57                 clock-output-names = "clkin_gmac";
 54                 #clock-cells = <0>;                58                 #clock-cells = <0>;
 55         };                                         59         };
 56                                                    60 
 57         fan1 {                                     61         fan1 {
 58                 /* fan connected to P7 */          62                 /* fan connected to P7 */
 59                 compatible = "pwm-fan";            63                 compatible = "pwm-fan";
 60                 pwms = <&pwm0 0 40000 0>;          64                 pwms = <&pwm0 0 40000 0>;
 61                 cooling-levels = <0 80 170 255     65                 cooling-levels = <0 80 170 255>;
 62         };                                         66         };
 63                                                    67 
 64         fan2 {                                     68         fan2 {
 65                 /* fan connected to P6 */          69                 /* fan connected to P6 */
 66                 compatible = "pwm-fan";            70                 compatible = "pwm-fan";
 67                 pwms = <&pwm1 0 40000 0>;          71                 pwms = <&pwm1 0 40000 0>;
 68                 cooling-levels = <0 80 170 255     72                 cooling-levels = <0 80 170 255>;
 69         };                                         73         };
 70                                                    74 
 71         leds {                                     75         leds {
 72                 compatible = "gpio-leds";          76                 compatible = "gpio-leds";
 73                 pinctrl-names = "default";         77                 pinctrl-names = "default";
 74                 pinctrl-0 = <&sys_grn_led_on &     78                 pinctrl-0 = <&sys_grn_led_on &sys_red_led_on>;
 75                                                    79 
 76                 led-0 {                            80                 led-0 {
 77                         label = "helios64:gree     81                         label = "helios64:green:status";
 78                         gpios = <&gpio0 RK_PB4     82                         gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
 79                         default-state = "on";      83                         default-state = "on";
 80                 };                                 84                 };
 81                                                    85 
 82                 led-1 {                            86                 led-1 {
 83                         label = "helios64:red:     87                         label = "helios64:red:fault";
 84                         gpios = <&gpio0 RK_PB5     88                         gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
 85                         default-state = "keep"     89                         default-state = "keep";
 86                 };                                 90                 };
 87         };                                         91         };
 88                                                    92 
 89         hdd_a_power: hdd-a-power {                 93         hdd_a_power: hdd-a-power {
 90                 compatible = "regulator-fixed"     94                 compatible = "regulator-fixed";
 91                 enable-active-high;                95                 enable-active-high;
 92                 gpio = <&gpio1 RK_PA0 GPIO_ACT     96                 gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
 93                 pinctrl-0 = <&hdd_a_power_en>;     97                 pinctrl-0 = <&hdd_a_power_en>;
 94                 pinctrl-names = "default";         98                 pinctrl-names = "default";
 95                 regulator-always-on;               99                 regulator-always-on;
 96                 regulator-boot-on;                100                 regulator-boot-on;
 97                 regulator-name = "hdd_a_power"    101                 regulator-name = "hdd_a_power";
 98                 startup-delay-us = <2000000>;     102                 startup-delay-us = <2000000>;
 99         };                                        103         };
100                                                   104 
101         hdd_b_power: hdd-b-power {                105         hdd_b_power: hdd-b-power {
102                 compatible = "regulator-fixed"    106                 compatible = "regulator-fixed";
103                 enable-active-high;               107                 enable-active-high;
104                 gpio = <&gpio1 RK_PA1 GPIO_ACT    108                 gpio = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>;
105                 pinctrl-0 = <&hdd_b_power_en>;    109                 pinctrl-0 = <&hdd_b_power_en>;
106                 pinctrl-names = "default";        110                 pinctrl-names = "default";
107                 regulator-always-on;              111                 regulator-always-on;
108                 regulator-boot-on;                112                 regulator-boot-on;
109                 regulator-name = "hdd_b_power"    113                 regulator-name = "hdd_b_power";
110                 startup-delay-us = <2000000>;     114                 startup-delay-us = <2000000>;
111         };                                        115         };
112                                                   116 
113         pcie_power: pcie-power {                  117         pcie_power: pcie-power {
114                 compatible = "regulator-fixed"    118                 compatible = "regulator-fixed";
115                 enable-active-high;               119                 enable-active-high;
116                 gpio = <&gpio1 RK_PD0 GPIO_ACT    120                 gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
117                 pinctrl-0 = <&pcie_pwr>;          121                 pinctrl-0 = <&pcie_pwr>;
118                 pinctrl-names = "default";        122                 pinctrl-names = "default";
119                 regulator-boot-on;                123                 regulator-boot-on;
120                 regulator-name = "pcie_power";    124                 regulator-name = "pcie_power";
121                 startup-delay-us = <10000>;       125                 startup-delay-us = <10000>;
122                 vin-supply = <&vcc5v0_perdev>;    126                 vin-supply = <&vcc5v0_perdev>;
123         };                                        127         };
124                                                   128 
125         usblan_power: usblan-power {              129         usblan_power: usblan-power {
126                 compatible = "regulator-fixed"    130                 compatible = "regulator-fixed";
127                 enable-active-high;               131                 enable-active-high;
128                 gpio = <&gpio1 RK_PC7 GPIO_ACT    132                 gpio = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>;
129                 pinctrl-names = "default";        133                 pinctrl-names = "default";
130                 pinctrl-0 = <&usb_lan_en>;        134                 pinctrl-0 = <&usb_lan_en>;
131                 regulator-name = "usblan_power    135                 regulator-name = "usblan_power";
132                 regulator-always-on;              136                 regulator-always-on;
133                 regulator-boot-on;                137                 regulator-boot-on;
134                 vin-supply = <&vcc5v0_usb>;       138                 vin-supply = <&vcc5v0_usb>;
135         };                                        139         };
136                                                   140 
137         vcc1v8_sys_s0: vcc1v8-sys-s0 {            141         vcc1v8_sys_s0: vcc1v8-sys-s0 {
138                 compatible = "regulator-fixed"    142                 compatible = "regulator-fixed";
139                 regulator-name = "vcc1v8_sys_s    143                 regulator-name = "vcc1v8_sys_s0";
140                 regulator-always-on;              144                 regulator-always-on;
141                 regulator-boot-on;                145                 regulator-boot-on;
142                 regulator-min-microvolt = <180    146                 regulator-min-microvolt = <1800000>;
143                 regulator-max-microvolt = <180    147                 regulator-max-microvolt = <1800000>;
144                 vin-supply = <&vcc1v8_sys_s3>;    148                 vin-supply = <&vcc1v8_sys_s3>;
145         };                                        149         };
146                                                   150 
147         vcc3v0_sd: vcc3v0-sd {                    151         vcc3v0_sd: vcc3v0-sd {
148                 compatible = "regulator-fixed"    152                 compatible = "regulator-fixed";
149                 enable-active-high;               153                 enable-active-high;
150                 gpio = <&gpio0 RK_PA1 GPIO_ACT    154                 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
151                 regulator-name = "vcc3v0_sd";     155                 regulator-name = "vcc3v0_sd";
152                 regulator-boot-on;                156                 regulator-boot-on;
153                 regulator-min-microvolt = <300    157                 regulator-min-microvolt = <3000000>;
154                 regulator-max-microvolt = <300    158                 regulator-max-microvolt = <3000000>;
155                 pinctrl-names = "default";        159                 pinctrl-names = "default";
156                 pinctrl-0 = <&sdmmc0_pwr_h>;      160                 pinctrl-0 = <&sdmmc0_pwr_h>;
157                 vin-supply = <&vcc3v3_sys_s3>;    161                 vin-supply = <&vcc3v3_sys_s3>;
158         };                                        162         };
159                                                   163 
160         vcc3v3_sys_s3: vcc_lan: vcc3v3-sys-s3     164         vcc3v3_sys_s3: vcc_lan: vcc3v3-sys-s3 {
161                 compatible = "regulator-fixed"    165                 compatible = "regulator-fixed";
162                 regulator-name = "vcc3v3_sys_s    166                 regulator-name = "vcc3v3_sys_s3";
163                 regulator-always-on;              167                 regulator-always-on;
164                 regulator-boot-on;                168                 regulator-boot-on;
165                 regulator-min-microvolt = <330    169                 regulator-min-microvolt = <3300000>;
166                 regulator-max-microvolt = <330    170                 regulator-max-microvolt = <3300000>;
167                 vin-supply = <&vcc5v0_sys>;       171                 vin-supply = <&vcc5v0_sys>;
168                                                   172 
169                 regulator-state-mem {             173                 regulator-state-mem {
170                         regulator-on-in-suspen    174                         regulator-on-in-suspend;
171                 };                                175                 };
172         };                                        176         };
173                                                   177 
174         vcc5v0_perdev: vcc5v0-perdev {            178         vcc5v0_perdev: vcc5v0-perdev {
175                 compatible = "regulator-fixed"    179                 compatible = "regulator-fixed";
176                 regulator-name = "vcc5v0_perde    180                 regulator-name = "vcc5v0_perdev";
177                 regulator-always-on;              181                 regulator-always-on;
178                 regulator-boot-on;                182                 regulator-boot-on;
179                 regulator-min-microvolt = <500    183                 regulator-min-microvolt = <5000000>;
180                 regulator-max-microvolt = <500    184                 regulator-max-microvolt = <5000000>;
181                 vin-supply = <&vcc12v_dcin_bku    185                 vin-supply = <&vcc12v_dcin_bkup>;
182         };                                        186         };
183                                                   187 
184         vcc5v0_sys: vcc5v0-sys {                  188         vcc5v0_sys: vcc5v0-sys {
185                 compatible = "regulator-fixed"    189                 compatible = "regulator-fixed";
186                 regulator-name = "vcc5v0_sys";    190                 regulator-name = "vcc5v0_sys";
187                 regulator-always-on;              191                 regulator-always-on;
188                 regulator-boot-on;                192                 regulator-boot-on;
189                 regulator-min-microvolt = <500    193                 regulator-min-microvolt = <5000000>;
190                 regulator-max-microvolt = <500    194                 regulator-max-microvolt = <5000000>;
191                 vin-supply = <&vcc12v_dcin_bku    195                 vin-supply = <&vcc12v_dcin_bkup>;
192                                                   196 
193                 regulator-state-mem {             197                 regulator-state-mem {
194                         regulator-on-in-suspen    198                         regulator-on-in-suspend;
195                 };                                199                 };
196         };                                        200         };
197                                                   201 
198         vcc5v0_usb: vcc5v0-usb {                  202         vcc5v0_usb: vcc5v0-usb {
199                 compatible = "regulator-fixed"    203                 compatible = "regulator-fixed";
200                 enable-active-high;               204                 enable-active-high;
201                 gpio = <&gpio1 RK_PC6 GPIO_ACT    205                 gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
202                 pinctrl-names = "default";        206                 pinctrl-names = "default";
203                 pinctrl-0 = <&vcc5v0_usb_en>;     207                 pinctrl-0 = <&vcc5v0_usb_en>;
204                 regulator-name = "vcc5v0_usb";    208                 regulator-name = "vcc5v0_usb";
205                 regulator-always-on;              209                 regulator-always-on;
206                 regulator-boot-on;                210                 regulator-boot-on;
207                 regulator-min-microvolt = <500    211                 regulator-min-microvolt = <5000000>;
208                 regulator-max-microvolt = <500    212                 regulator-max-microvolt = <5000000>;
209                 vin-supply = <&vcc5v0_perdev>;    213                 vin-supply = <&vcc5v0_perdev>;
210         };                                        214         };
211                                                   215 
212         vcc12v_dcin: vcc12v-dcin {                216         vcc12v_dcin: vcc12v-dcin {
213                 compatible = "regulator-fixed"    217                 compatible = "regulator-fixed";
214                 regulator-name = "vcc12v_dcin"    218                 regulator-name = "vcc12v_dcin";
215                 regulator-always-on;              219                 regulator-always-on;
216                 regulator-boot-on;                220                 regulator-boot-on;
217                 regulator-min-microvolt = <120    221                 regulator-min-microvolt = <12000000>;
218                 regulator-max-microvolt = <120    222                 regulator-max-microvolt = <12000000>;
219         };                                        223         };
220                                                   224 
221         vcc12v_dcin_bkup: vcc12v-dcin-bkup {      225         vcc12v_dcin_bkup: vcc12v-dcin-bkup {
222                 compatible = "regulator-fixed"    226                 compatible = "regulator-fixed";
223                 regulator-name = "vcc12v_dcin_    227                 regulator-name = "vcc12v_dcin_bkup";
224                 regulator-always-on;              228                 regulator-always-on;
225                 regulator-boot-on;                229                 regulator-boot-on;
226                 regulator-min-microvolt = <120    230                 regulator-min-microvolt = <12000000>;
227                 regulator-max-microvolt = <120    231                 regulator-max-microvolt = <12000000>;
228                 vin-supply = <&vcc12v_dcin>;      232                 vin-supply = <&vcc12v_dcin>;
229         };                                        233         };
230 };                                                234 };
231                                                   235 
232 /*                                                236 /*
233  * The system doesn't run stable with cpu freq    237  * The system doesn't run stable with cpu freq enabled, so disallow the lower
234  * frequencies until this problem is properly     238  * frequencies until this problem is properly understood and resolved.
235  */                                               239  */
236 &cluster0_opp {                                   240 &cluster0_opp {
237         /delete-node/ opp00;                      241         /delete-node/ opp00;
238         /delete-node/ opp01;                      242         /delete-node/ opp01;
239         /delete-node/ opp02;                      243         /delete-node/ opp02;
240         /delete-node/ opp03;                      244         /delete-node/ opp03;
241         /delete-node/ opp04;                      245         /delete-node/ opp04;
242 };                                                246 };
243                                                   247 
244 &cluster1_opp {                                   248 &cluster1_opp {
245         /delete-node/ opp00;                      249         /delete-node/ opp00;
246         /delete-node/ opp01;                      250         /delete-node/ opp01;
247         /delete-node/ opp02;                      251         /delete-node/ opp02;
248         /delete-node/ opp03;                      252         /delete-node/ opp03;
249         /delete-node/ opp04;                      253         /delete-node/ opp04;
250         /delete-node/ opp05;                      254         /delete-node/ opp05;
251         /delete-node/ opp06;                      255         /delete-node/ opp06;
252 };                                                256 };
253                                                   257 
254 &cpu_b0 {                                         258 &cpu_b0 {
255         cpu-supply = <&vdd_cpu_b>;                259         cpu-supply = <&vdd_cpu_b>;
256 };                                                260 };
257                                                   261 
258 &cpu_b1 {                                         262 &cpu_b1 {
259         cpu-supply = <&vdd_cpu_b>;                263         cpu-supply = <&vdd_cpu_b>;
260 };                                                264 };
261                                                   265 
262 &cpu_l0 {                                         266 &cpu_l0 {
263         cpu-supply = <&vdd_cpu_l>;                267         cpu-supply = <&vdd_cpu_l>;
264 };                                                268 };
265                                                   269 
266 &cpu_l1 {                                         270 &cpu_l1 {
267         cpu-supply = <&vdd_cpu_l>;                271         cpu-supply = <&vdd_cpu_l>;
268 };                                                272 };
269                                                   273 
270 &cpu_l2 {                                         274 &cpu_l2 {
271         cpu-supply = <&vdd_cpu_l>;                275         cpu-supply = <&vdd_cpu_l>;
272 };                                                276 };
273                                                   277 
274 &cpu_l3 {                                         278 &cpu_l3 {
275         cpu-supply = <&vdd_cpu_l>;                279         cpu-supply = <&vdd_cpu_l>;
276 };                                                280 };
277                                                   281 
278 &emmc_phy {                                       282 &emmc_phy {
279         status = "okay";                          283         status = "okay";
280 };                                                284 };
281                                                   285 
282 &gmac {                                           286 &gmac {
283         assigned-clock-parents = <&clkin_gmac>    287         assigned-clock-parents = <&clkin_gmac>;
284         assigned-clocks = <&cru SCLK_RMII_SRC>    288         assigned-clocks = <&cru SCLK_RMII_SRC>;
285         clock_in_out = "input";                   289         clock_in_out = "input";
286         phy-mode = "rgmii";                       290         phy-mode = "rgmii";
287         phy-supply = <&vcc_lan>;                  291         phy-supply = <&vcc_lan>;
288         pinctrl-names = "default";                292         pinctrl-names = "default";
289         pinctrl-0 = <&rgmii_pins &gphy_reset>;    293         pinctrl-0 = <&rgmii_pins &gphy_reset>;
290         rx_delay = <0x20>;                        294         rx_delay = <0x20>;
291         tx_delay = <0x28>;                        295         tx_delay = <0x28>;
292         snps,reset-active-low;                    296         snps,reset-active-low;
293         snps,reset-delays-us = <0 10000 50000>    297         snps,reset-delays-us = <0 10000 50000>;
294         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_    298         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
295         status = "okay";                          299         status = "okay";
296 };                                                300 };
297                                                   301 
298 &i2c0 {                                           302 &i2c0 {
299         clock-frequency = <400000>;               303         clock-frequency = <400000>;
300         i2c-scl-rising-time-ns = <168>;           304         i2c-scl-rising-time-ns = <168>;
301         i2c-scl-falling-time-ns = <4>;            305         i2c-scl-falling-time-ns = <4>;
302         status = "okay";                          306         status = "okay";
303                                                   307 
304         rk808: pmic@1b {                          308         rk808: pmic@1b {
305                 compatible = "rockchip,rk808";    309                 compatible = "rockchip,rk808";
306                 reg = <0x1b>;                     310                 reg = <0x1b>;
307                 interrupt-parent = <&gpio0>;      311                 interrupt-parent = <&gpio0>;
308                 interrupts = <10 IRQ_TYPE_LEVE    312                 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
309                 clock-output-names = "xin32k",    313                 clock-output-names = "xin32k", "rk808-clkout2";
310                 pinctrl-names = "default";        314                 pinctrl-names = "default";
311                 pinctrl-0 = <&pmic_int_l>;        315                 pinctrl-0 = <&pmic_int_l>;
312                 rockchip,system-power-controll    316                 rockchip,system-power-controller;
313                 vcc1-supply = <&vcc5v0_sys>;      317                 vcc1-supply = <&vcc5v0_sys>;
314                 vcc2-supply = <&vcc5v0_sys>;      318                 vcc2-supply = <&vcc5v0_sys>;
315                 vcc3-supply = <&vcc5v0_sys>;      319                 vcc3-supply = <&vcc5v0_sys>;
316                 vcc4-supply = <&vcc5v0_sys>;      320                 vcc4-supply = <&vcc5v0_sys>;
317                 vcc6-supply = <&vcc5v0_sys>;      321                 vcc6-supply = <&vcc5v0_sys>;
318                 vcc7-supply = <&vcc5v0_sys>;      322                 vcc7-supply = <&vcc5v0_sys>;
319                 vcc8-supply = <&vcc3v3_sys_s3>    323                 vcc8-supply = <&vcc3v3_sys_s3>;
320                 vcc9-supply = <&vcc5v0_sys>;      324                 vcc9-supply = <&vcc5v0_sys>;
321                 vcc10-supply = <&vcc5v0_sys>;     325                 vcc10-supply = <&vcc5v0_sys>;
322                 vcc11-supply = <&vcc5v0_sys>;     326                 vcc11-supply = <&vcc5v0_sys>;
323                 vcc12-supply = <&vcc3v3_sys_s3    327                 vcc12-supply = <&vcc3v3_sys_s3>;
324                 vddio-supply = <&vcc3v0_s3>;      328                 vddio-supply = <&vcc3v0_s3>;
325                 wakeup-source;                    329                 wakeup-source;
326                 #clock-cells = <1>;               330                 #clock-cells = <1>;
327                                                   331 
328                 regulators {                      332                 regulators {
329                         vdd_cpu_l: DCDC_REG2 {    333                         vdd_cpu_l: DCDC_REG2 {
330                                 regulator-name    334                                 regulator-name = "vdd_cpu_l";
331                                 regulator-alwa    335                                 regulator-always-on;
332                                 regulator-boot    336                                 regulator-boot-on;
333                                 regulator-min-    337                                 regulator-min-microvolt = <750000>;
334                                 regulator-max-    338                                 regulator-max-microvolt = <1350000>;
335                                 regulator-ramp    339                                 regulator-ramp-delay = <6001>;
336                                                   340 
337                                 regulator-stat    341                                 regulator-state-mem {
338                                         regula    342                                         regulator-off-in-suspend;
339                                 };                343                                 };
340                         };                        344                         };
341                                                   345 
342                         vcc1v8_sys_s3: DCDC_RE    346                         vcc1v8_sys_s3: DCDC_REG4 {
343                                 regulator-name    347                                 regulator-name = "vcc1v8_sys_s3";
344                                 regulator-alwa    348                                 regulator-always-on;
345                                 regulator-boot    349                                 regulator-boot-on;
346                                 regulator-min-    350                                 regulator-min-microvolt = <1800000>;
347                                 regulator-max-    351                                 regulator-max-microvolt = <1800000>;
348                                                   352 
349                                 regulator-stat    353                                 regulator-state-mem {
350                                         regula    354                                         regulator-on-in-suspend;
351                                         regula    355                                         regulator-suspend-microvolt = <1800000>;
352                                 };                356                                 };
353                         };                        357                         };
354                                                   358 
355                         vcc_sdio_s0: LDO_REG4     359                         vcc_sdio_s0: LDO_REG4 {
356                                 regulator-name    360                                 regulator-name = "vcc_sdio_s0";
357                                 regulator-alwa    361                                 regulator-always-on;
358                                 regulator-boot    362                                 regulator-boot-on;
359                                 regulator-min-    363                                 regulator-min-microvolt = <1800000>;
360                                 regulator-max-    364                                 regulator-max-microvolt = <3000000>;
361                                                   365 
362                                 regulator-stat    366                                 regulator-state-mem {
363                                         regula    367                                         regulator-on-in-suspend;
364                                         regula    368                                         regulator-suspend-microvolt = <3000000>;
365                                 };                369                                 };
366                         };                        370                         };
367                                                   371 
368                         vcc3v0_s3: LDO_REG8 {     372                         vcc3v0_s3: LDO_REG8 {
369                                 regulator-name    373                                 regulator-name = "vcc3v0_s3";
370                                 regulator-alwa    374                                 regulator-always-on;
371                                 regulator-boot    375                                 regulator-boot-on;
372                                 regulator-min-    376                                 regulator-min-microvolt = <3000000>;
373                                 regulator-max-    377                                 regulator-max-microvolt = <3000000>;
374                                                   378 
375                                 regulator-stat    379                                 regulator-state-mem {
376                                         regula    380                                         regulator-on-in-suspend;
377                                         regula    381                                         regulator-suspend-microvolt = <3000000>;
378                                 };                382                                 };
379                         };                        383                         };
380                 };                                384                 };
381         };                                        385         };
382                                                   386 
383         vdd_cpu_b: regulator@40 {                 387         vdd_cpu_b: regulator@40 {
384                 compatible = "silergy,syr827";    388                 compatible = "silergy,syr827";
385                 reg = <0x40>;                     389                 reg = <0x40>;
386                 fcs,suspend-voltage-selector =    390                 fcs,suspend-voltage-selector = <1>;
387                 regulator-name = "vdd_cpu_b";     391                 regulator-name = "vdd_cpu_b";
388                 regulator-always-on;              392                 regulator-always-on;
389                 regulator-boot-on;                393                 regulator-boot-on;
390                 regulator-min-microvolt = <712    394                 regulator-min-microvolt = <712500>;
391                 regulator-max-microvolt = <150    395                 regulator-max-microvolt = <1500000>;
392                 regulator-ramp-delay = <1000>;    396                 regulator-ramp-delay = <1000>;
393                 vin-supply = <&vcc5v0_sys>;       397                 vin-supply = <&vcc5v0_sys>;
394                                                   398 
395                 regulator-state-mem {             399                 regulator-state-mem {
396                         regulator-off-in-suspe    400                         regulator-off-in-suspend;
397                 };                                401                 };
398         };                                        402         };
399 };                                                403 };
400                                                   404 
401 &i2c2 {                                           405 &i2c2 {
402         clock-frequency = <400000>;               406         clock-frequency = <400000>;
403         i2c-scl-rising-time-ns = <160>;           407         i2c-scl-rising-time-ns = <160>;
404         i2c-scl-falling-time-ns = <30>;           408         i2c-scl-falling-time-ns = <30>;
405         status = "okay";                          409         status = "okay";
406                                                   410 
407         temp@4c {                                 411         temp@4c {
408                 compatible = "national,lm75";     412                 compatible = "national,lm75";
409                 reg = <0x4c>;                     413                 reg = <0x4c>;
410         };                                        414         };
411 };                                                415 };
412                                                   416 
413 &io_domains {                                     417 &io_domains {
414         audio-supply = <&vcc1v8_sys_s0>;          418         audio-supply = <&vcc1v8_sys_s0>;
415         bt656-supply = <&vcc1v8_sys_s0>;          419         bt656-supply = <&vcc1v8_sys_s0>;
416         gpio1830-supply = <&vcc3v0_s3>;           420         gpio1830-supply = <&vcc3v0_s3>;
417         sdmmc-supply = <&vcc_sdio_s0>;            421         sdmmc-supply = <&vcc_sdio_s0>;
418         status = "okay";                          422         status = "okay";
419 };                                                423 };
420                                                   424 
421 &pcie_phy {                                       425 &pcie_phy {
422         status = "okay";                          426         status = "okay";
423 };                                                427 };
424                                                   428 
425 &pcie0 {                                          429 &pcie0 {
426         ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_    430         ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
427         max-link-speed = <2>;                     431         max-link-speed = <2>;
428         num-lanes = <2>;                          432         num-lanes = <2>;
429         pinctrl-names = "default";                433         pinctrl-names = "default";
430         status = "okay";                          434         status = "okay";
431                                                   435 
432         vpcie12v-supply = <&vcc12v_dcin>;         436         vpcie12v-supply = <&vcc12v_dcin>;
433         vpcie3v3-supply = <&pcie_power>;          437         vpcie3v3-supply = <&pcie_power>;
434         vpcie1v8-supply = <&avdd_1v8_s0>;         438         vpcie1v8-supply = <&avdd_1v8_s0>;
435         vpcie0v9-supply = <&avdd_0v9_s0>;         439         vpcie0v9-supply = <&avdd_0v9_s0>;
436 };                                                440 };
437                                                   441 
438 &pinctrl {                                        442 &pinctrl {
439         gmac {                                    443         gmac {
440                 gphy_reset: gphy-reset {          444                 gphy_reset: gphy-reset {
441                         rockchip,pins = <3 RK_    445                         rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_output_low>;
442                 };                                446                 };
443         };                                        447         };
444                                                   448 
445         leds {                                    449         leds {
446                 sys_grn_led_on: sys-grn-led-on    450                 sys_grn_led_on: sys-grn-led-on {
447                         rockchip,pins = <0 RK_    451                         rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
448                 };                                452                 };
449                                                   453 
450                 sys_red_led_on: sys-red-led-on    454                 sys_red_led_on: sys-red-led-on {
451                         rockchip,pins = <0 RK_    455                         rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>;
452                 };                                456                 };
453         };                                        457         };
454                                                   458 
455         pcie {                                    459         pcie {
456                 pcie_pwr: pcie-pwr {              460                 pcie_pwr: pcie-pwr {
457                         rockchip,pins =           461                         rockchip,pins =
458                                 <1 RK_PD0 RK_F    462                                 <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
459                 };                                463                 };
460         };                                        464         };
461                                                   465 
462         pmic {                                    466         pmic {
463                 pmic_int_l: pmic-int-l {          467                 pmic_int_l: pmic-int-l {
464                         rockchip,pins = <0 RK_    468                         rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
465                 };                                469                 };
466         };                                        470         };
467                                                   471 
468         power {                                   472         power {
469                 hdd_a_power_en: hdd-a-power-en    473                 hdd_a_power_en: hdd-a-power-en {
470                         rockchip,pins = <1 RK_    474                         rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
471                 };                                475                 };
472                                                   476 
473                 hdd_b_power_en: hdd-b-power-en    477                 hdd_b_power_en: hdd-b-power-en {
474                         rockchip,pins = <1 RK_    478                         rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
475                 };                                479                 };
476                                                   480 
477                 vcc5v0_usb_en: vcc5v0-usb-en {    481                 vcc5v0_usb_en: vcc5v0-usb-en {
478                         rockchip,pins = <1 RK_    482                         rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
479                 };                                483                 };
480                                                   484 
481                 usb_lan_en: usb-lan-en {          485                 usb_lan_en: usb-lan-en {
482                         rockchip,pins = <1 RK_    486                         rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
483                 };                                487                 };
484         };                                        488         };
485                                                   489 
486         vcc3v0-sd {                               490         vcc3v0-sd {
487                 sdmmc0_pwr_h: sdmmc0-pwr-h {      491                 sdmmc0_pwr_h: sdmmc0-pwr-h {
488                         rockchip,pins = <0 RK_    492                         rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
489                 };                                493                 };
490         };                                        494         };
491 };                                                495 };
492                                                   496 
493 &pmu_io_domains {                                 497 &pmu_io_domains {
494         pmu1830-supply = <&vcc3v0_s3>;            498         pmu1830-supply = <&vcc3v0_s3>;
495         status = "okay";                          499         status = "okay";
496 };                                                500 };
497                                                   501 
498 &pwm0 {                                           502 &pwm0 {
499         /* pwm-fan on P7 */                       503         /* pwm-fan on P7 */
500         status = "okay";                          504         status = "okay";
501 };                                                505 };
502                                                   506 
503 &pwm1 {                                           507 &pwm1 {
504         /* pwm-fan on P6 */                       508         /* pwm-fan on P6 */
505         status = "okay";                          509         status = "okay";
506 };                                                510 };
507                                                   511 
508 &sdhci {                                          512 &sdhci {
509         bus-width = <8>;                          513         bus-width = <8>;
510         mmc-hs200-1_8v;                           514         mmc-hs200-1_8v;
511         non-removable;                            515         non-removable;
512         vqmmc-supply = <&vcc1v8_sys_s0>;          516         vqmmc-supply = <&vcc1v8_sys_s0>;
513         status = "okay";                          517         status = "okay";
514 };                                                518 };
515                                                   519 
516 &sdmmc {                                          520 &sdmmc {
517         bus-width = <4>;                          521         bus-width = <4>;
518         cap-sd-highspeed;                         522         cap-sd-highspeed;
519         cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_    523         cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
520         disable-wp;                               524         disable-wp;
521         pinctrl-names = "default";                525         pinctrl-names = "default";
522         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sd    526         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
523         vmmc-supply = <&vcc3v0_sd>;               527         vmmc-supply = <&vcc3v0_sd>;
524         vqmmc-supply = <&vcc_sdio_s0>;            528         vqmmc-supply = <&vcc_sdio_s0>;
525         status = "okay";                          529         status = "okay";
526 };                                                530 };
527                                                   531 
528 &spi1 {                                           532 &spi1 {
529         status = "okay";                          533         status = "okay";
530                                                   534 
531         spiflash: flash@0 {                       535         spiflash: flash@0 {
532                 compatible = "jedec,spi-nor";     536                 compatible = "jedec,spi-nor";
533                 reg = <0x0>;                      537                 reg = <0x0>;
534                 spi-max-frequency = <25000000>    538                 spi-max-frequency = <25000000>;
535                 status = "okay";                  539                 status = "okay";
536                 m25p,fast-read;                   540                 m25p,fast-read;
537         };                                        541         };
538 };                                                542 };
539                                                   543 
540 /* UEXT connector */                              544 /* UEXT connector */
541 &spi2 {                                           545 &spi2 {
542         status = "okay";                          546         status = "okay";
543 };                                                547 };
544                                                   548 
545 &spi5 {                                           549 &spi5 {
546         status = "okay";                          550         status = "okay";
547 };                                                551 };
548                                                   552 
549 &tcphy1 {                                         553 &tcphy1 {
550         /* phy for &usbdrd_dwc3_1 */              554         /* phy for &usbdrd_dwc3_1 */
551         status = "okay";                          555         status = "okay";
552 };                                                556 };
553                                                   557 
554 &tsadc {                                          558 &tsadc {
555         /* tshut mode 0:CRU 1:GPIO */             559         /* tshut mode 0:CRU 1:GPIO */
556         rockchip,hw-tshut-mode = <1>;             560         rockchip,hw-tshut-mode = <1>;
557         /* tshut polarity 0:LOW 1:HIGH */         561         /* tshut polarity 0:LOW 1:HIGH */
558         rockchip,hw-tshut-polarity = <1>;         562         rockchip,hw-tshut-polarity = <1>;
559         status = "okay";                          563         status = "okay";
560 };                                                564 };
561                                                   565 
562 &u2phy1 {                                         566 &u2phy1 {
563         status = "okay";                          567         status = "okay";
564                                                   568 
565         otg-port {                                569         otg-port {
566                 /* phy for &usbdrd_dwc3_1 */      570                 /* phy for &usbdrd_dwc3_1 */
567                 phy-supply = <&vcc5v0_usb>;       571                 phy-supply = <&vcc5v0_usb>;
568                 status = "okay";                  572                 status = "okay";
569         };                                        573         };
570 };                                                574 };
571                                                   575 
572 &uart2 {                                          576 &uart2 {
573         status = "okay";                          577         status = "okay";
574 };                                                578 };
575                                                   579 
576 &usbdrd3_1 {                                      580 &usbdrd3_1 {
577         status = "okay";                          581         status = "okay";
578                                                   582 
579         usb@fe900000 {                            583         usb@fe900000 {
580                 dr_mode = "host";                 584                 dr_mode = "host";
581                 status = "okay";                  585                 status = "okay";
582                 #address-cells = <1>;             586                 #address-cells = <1>;
583                 #size-cells = <0>;                587                 #size-cells = <0>;
584                                                   588 
585                 hub@1 {                           589                 hub@1 {
586                         compatible = "usb2109,    590                         compatible = "usb2109,0815";
587                         reg = <1>;                591                         reg = <1>;
588                         #address-cells = <1>;     592                         #address-cells = <1>;
589                         #size-cells = <0>;        593                         #size-cells = <0>;
590                                                   594 
591                         port@1 {                  595                         port@1 {
592                                 reg = <1>;        596                                 reg = <1>;
593                                 #trigger-sourc    597                                 #trigger-source-cells = <0>;
594                         };                        598                         };
595                                                   599 
596                         port@2 {                  600                         port@2 {
597                                 reg = <2>;        601                                 reg = <2>;
598                                 #trigger-sourc    602                                 #trigger-source-cells = <0>;
599                         };                        603                         };
600                                                   604 
601                         port@3 {                  605                         port@3 {
602                                 reg = <3>;        606                                 reg = <3>;
603                                 #trigger-sourc    607                                 #trigger-source-cells = <0>;
604                         };                        608                         };
605                                                   609 
606                         device@4 {                610                         device@4 {
607                                 compatible = "    611                                 compatible = "usbbda,8156";
608                                 reg = <4>;        612                                 reg = <4>;
609                                 #address-cells    613                                 #address-cells = <2>;
610                                 #size-cells =     614                                 #size-cells = <0>;
611                                                   615 
612                                 interface@0 {     616                                 interface@0 {   /* interface 0 of configuration 1 */
613                                         compat !! 617                                         compatible = "usbbda,8156.config1.0";
614                                         reg =     618                                         reg = <0 1>;
615                                 };                619                                 };
616                         };                        620                         };
617                 };                                621                 };
618         };                                        622         };
619 };                                                623 };
                                                      

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