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

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


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2019 Fuzhou Rockchip Electron      3  * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7 #include "rk3308.dtsi"                              7 #include "rk3308.dtsi"
  8                                                     8 
  9 / {                                                 9 / {
 10         model = "Firefly ROC-RK3308-CC board";     10         model = "Firefly ROC-RK3308-CC board";
 11         compatible = "firefly,roc-rk3308-cc",      11         compatible = "firefly,roc-rk3308-cc", "rockchip,rk3308";
 12                                                    12 
 13         aliases {                                  13         aliases {
 14                 mmc0 = &sdmmc;                     14                 mmc0 = &sdmmc;
 15                 mmc1 = &emmc;                      15                 mmc1 = &emmc;
 16         };                                         16         };
 17                                                    17 
 18         chosen {                                   18         chosen {
 19                 stdout-path = "serial2:1500000     19                 stdout-path = "serial2:1500000n8";
 20         };                                         20         };
 21                                                    21 
 22         ir-receiver {                              22         ir-receiver {
 23                 compatible = "gpio-ir-receiver     23                 compatible = "gpio-ir-receiver";
 24                 gpios = <&gpio0 RK_PC0 GPIO_AC     24                 gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
 25                 pinctrl-names = "default";         25                 pinctrl-names = "default";
 26                 pinctrl-0 = <&ir_recv_pin>;        26                 pinctrl-0 = <&ir_recv_pin>;
 27         };                                         27         };
 28                                                    28 
 29         ir_tx {                                    29         ir_tx {
 30                 compatible = "pwm-ir-tx";          30                 compatible = "pwm-ir-tx";
 31                 pwms = <&pwm5 0 25000 0>;          31                 pwms = <&pwm5 0 25000 0>;
 32         };                                         32         };
 33                                                    33 
 34         leds {                                     34         leds {
 35                 compatible = "gpio-leds";          35                 compatible = "gpio-leds";
 36                                                    36 
 37                 power_led: led-0 {                 37                 power_led: led-0 {
 38                         label = "firefly:red:p     38                         label = "firefly:red:power";
 39                         linux,default-trigger  !!  39                         linux,default-trigger = "ir-power-click";
 40                         default-state = "on";      40                         default-state = "on";
 41                         gpios = <&gpio0 RK_PA6     41                         gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
 42                 };                                 42                 };
 43                                                    43 
 44                 user_led: led-1 {                  44                 user_led: led-1 {
 45                         label = "firefly:blue:     45                         label = "firefly:blue:user";
 46                         linux,default-trigger  !!  46                         linux,default-trigger = "ir-user-click";
 47                         default-state = "off";     47                         default-state = "off";
 48                         gpios = <&gpio0 RK_PB2     48                         gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>;
 49                 };                                 49                 };
 50         };                                         50         };
 51                                                    51 
 52         typec_vcc5v: typec-vcc5v {                 52         typec_vcc5v: typec-vcc5v {
 53                 compatible = "regulator-fixed"     53                 compatible = "regulator-fixed";
 54                 regulator-name = "typec_vcc5v"     54                 regulator-name = "typec_vcc5v";
 55                 regulator-min-microvolt = <500     55                 regulator-min-microvolt = <5000000>;
 56                 regulator-max-microvolt = <500     56                 regulator-max-microvolt = <5000000>;
 57                 regulator-always-on;               57                 regulator-always-on;
 58                 regulator-boot-on;                 58                 regulator-boot-on;
 59         };                                         59         };
 60                                                    60 
 61         vcc5v0_sys: vcc5v0-sys {                   61         vcc5v0_sys: vcc5v0-sys {
 62                 compatible = "regulator-fixed"     62                 compatible = "regulator-fixed";
 63                 regulator-name = "vcc5v0_sys";     63                 regulator-name = "vcc5v0_sys";
 64                 regulator-min-microvolt = <500     64                 regulator-min-microvolt = <5000000>;
 65                 regulator-max-microvolt = <500     65                 regulator-max-microvolt = <5000000>;
 66                 regulator-always-on;               66                 regulator-always-on;
 67                 regulator-boot-on;                 67                 regulator-boot-on;
 68                 vin-supply = <&typec_vcc5v>;       68                 vin-supply = <&typec_vcc5v>;
 69         };                                         69         };
 70                                                    70 
 71         vcc_io: vcc-io {                           71         vcc_io: vcc-io {
 72                 compatible = "regulator-fixed"     72                 compatible = "regulator-fixed";
 73                 regulator-name = "vcc_io";         73                 regulator-name = "vcc_io";
 74                 regulator-min-microvolt = <330     74                 regulator-min-microvolt = <3300000>;
 75                 regulator-max-microvolt = <330     75                 regulator-max-microvolt = <3300000>;
 76                 regulator-always-on;               76                 regulator-always-on;
 77                 regulator-boot-on;                 77                 regulator-boot-on;
 78                 vin-supply = <&vcc5v0_sys>;        78                 vin-supply = <&vcc5v0_sys>;
 79         };                                         79         };
 80                                                    80 
 81         vcc_sdmmc: vcc-sdmmc {                     81         vcc_sdmmc: vcc-sdmmc {
 82                 compatible = "regulator-gpio";     82                 compatible = "regulator-gpio";
 83                 regulator-name = "vcc_sdmmc";      83                 regulator-name = "vcc_sdmmc";
 84                 regulator-min-microvolt = <180     84                 regulator-min-microvolt = <1800000>;
 85                 regulator-max-microvolt = <330     85                 regulator-max-microvolt = <3300000>;
 86                 gpios = <&gpio0 RK_PA7 GPIO_AC     86                 gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_HIGH>;
 87                 states = <1800000 0x0>,            87                 states = <1800000 0x0>,
 88                          <3300000 0x1>;            88                          <3300000 0x1>;
 89                 vin-supply = <&vcc5v0_sys>;        89                 vin-supply = <&vcc5v0_sys>;
 90         };                                         90         };
 91                                                    91 
 92         vcc_sd: vcc-sd {                           92         vcc_sd: vcc-sd {
 93                 compatible = "regulator-fixed"     93                 compatible = "regulator-fixed";
 94                 gpio = <&gpio4 RK_PD6 GPIO_ACT     94                 gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_LOW>;
 95                 regulator-name = "vcc_sd";         95                 regulator-name = "vcc_sd";
 96                 regulator-min-microvolt = <330     96                 regulator-min-microvolt = <3300000>;
 97                 regulator-max-microvolt = <330     97                 regulator-max-microvolt = <3300000>;
 98                 regulator-always-on;               98                 regulator-always-on;
 99                 regulator-boot-on;                 99                 regulator-boot-on;
100                 vin-supply = <&vcc_io>;           100                 vin-supply = <&vcc_io>;
101         };                                        101         };
102                                                   102 
103         vdd_core: vdd-core {                      103         vdd_core: vdd-core {
104                 compatible = "pwm-regulator";     104                 compatible = "pwm-regulator";
105                 pwms = <&pwm0 0 5000 1>;          105                 pwms = <&pwm0 0 5000 1>;
106                 regulator-name = "vdd_core";      106                 regulator-name = "vdd_core";
107                 regulator-min-microvolt = <827    107                 regulator-min-microvolt = <827000>;
108                 regulator-max-microvolt = <134    108                 regulator-max-microvolt = <1340000>;
109                 regulator-settling-time-up-us     109                 regulator-settling-time-up-us = <250>;
110                 regulator-always-on;              110                 regulator-always-on;
111                 regulator-boot-on;                111                 regulator-boot-on;
112                 pwm-supply = <&vcc5v0_sys>;       112                 pwm-supply = <&vcc5v0_sys>;
113         };                                        113         };
114                                                   114 
115         vdd_log: vdd-log {                        115         vdd_log: vdd-log {
116                 compatible = "regulator-fixed"    116                 compatible = "regulator-fixed";
117                 regulator-name = "vdd_log";       117                 regulator-name = "vdd_log";
118                 regulator-min-microvolt = <105    118                 regulator-min-microvolt = <1050000>;
119                 regulator-max-microvolt = <105    119                 regulator-max-microvolt = <1050000>;
120                 regulator-always-on;              120                 regulator-always-on;
121                 regulator-boot-on;                121                 regulator-boot-on;
122                 vin-supply = <&vcc5v0_sys>;       122                 vin-supply = <&vcc5v0_sys>;
123         };                                        123         };
124 };                                                124 };
125                                                   125 
126 &cpu0 {                                           126 &cpu0 {
127         cpu-supply = <&vdd_core>;                 127         cpu-supply = <&vdd_core>;
128 };                                                128 };
129                                                   129 
130 &emmc {                                           130 &emmc {
131         cap-mmc-highspeed;                        131         cap-mmc-highspeed;
132         mmc-hs200-1_8v;                           132         mmc-hs200-1_8v;
133         non-removable;                            133         non-removable;
134         status = "okay";                          134         status = "okay";
135 };                                                135 };
136                                                   136 
137 &i2c1 {                                           137 &i2c1 {
138         clock-frequency = <400000>;               138         clock-frequency = <400000>;
139         status = "okay";                          139         status = "okay";
140                                                   140 
141         rtc: rtc@51 {                             141         rtc: rtc@51 {
142                 compatible = "nxp,pcf8563";       142                 compatible = "nxp,pcf8563";
143                 reg = <0x51>;                     143                 reg = <0x51>;
144                 #clock-cells = <0>;               144                 #clock-cells = <0>;
145         };                                        145         };
146 };                                                146 };
147                                                   147 
148 &pwm5 {                                           148 &pwm5 {
149         status = "okay";                          149         status = "okay";
150         pinctrl-names = "active";                 150         pinctrl-names = "active";
151         pinctrl-0 = <&pwm5_pin_pull_down>;        151         pinctrl-0 = <&pwm5_pin_pull_down>;
152 };                                                152 };
153                                                   153 
154 &pinctrl {                                        154 &pinctrl {
155         pinctrl-names = "default";                155         pinctrl-names = "default";
156         pinctrl-0 = <&rtc_32k>;                   156         pinctrl-0 = <&rtc_32k>;
157                                                   157 
158         ir-receiver {                             158         ir-receiver {
159                 ir_recv_pin: ir-recv-pin  {       159                 ir_recv_pin: ir-recv-pin  {
160                         rockchip,pins = <0 RK_    160                         rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
161                 };                                161                 };
162         };                                        162         };
163                                                   163 
164         buttons {                                 164         buttons {
165                 pwr_key: pwr-key {                165                 pwr_key: pwr-key {
166                         rockchip,pins = <0 RK_    166                         rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
167                 };                                167                 };
168         };                                        168         };
169 };                                                169 };
170                                                   170 
171 &pwm0 {                                           171 &pwm0 {
172         status = "okay";                          172         status = "okay";
173         pinctrl-0 = <&pwm0_pin_pull_down>;        173         pinctrl-0 = <&pwm0_pin_pull_down>;
174 };                                                174 };
175                                                   175 
176 &sdmmc {                                          176 &sdmmc {
177         cap-mmc-highspeed;                        177         cap-mmc-highspeed;
178         cap-sd-highspeed;                         178         cap-sd-highspeed;
179         card-detect-delay = <300>;                179         card-detect-delay = <300>;
180         sd-uhs-sdr25;                             180         sd-uhs-sdr25;
181         sd-uhs-sdr50;                             181         sd-uhs-sdr50;
182         sd-uhs-sdr104;                            182         sd-uhs-sdr104;
183         vmmc-supply = <&vcc_sd>;                  183         vmmc-supply = <&vcc_sd>;
184         vqmmc-supply = <&vcc_sdmmc>;              184         vqmmc-supply = <&vcc_sdmmc>;
185         status = "okay";                          185         status = "okay";
186 };                                                186 };
187                                                   187 
188 &uart2 {                                          188 &uart2 {
189         status = "okay";                          189         status = "okay";
190 };                                                190 };
                                                      

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