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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/rockchip/rk3288-rock2-square.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/arm/rockchip/rk3288-rock2-square.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/rockchip/rk3288-rock2-square.dts (Version linux-6.5.13)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2                                                     2 
  3 /dts-v1/;                                           3 /dts-v1/;
  4 #include <dt-bindings/input/input.h>                4 #include <dt-bindings/input/input.h>
  5 #include "rk3288-rock2-som.dtsi"                    5 #include "rk3288-rock2-som.dtsi"
  6                                                     6 
  7 / {                                                 7 / {
  8         model = "Radxa Rock 2 Square";              8         model = "Radxa Rock 2 Square";
  9         compatible = "radxa,rock2-square", "ro      9         compatible = "radxa,rock2-square", "rockchip,rk3288";
 10                                                    10 
 11         chosen {                                   11         chosen {
 12                 stdout-path = "serial2:115200n     12                 stdout-path = "serial2:115200n8";
 13         };                                         13         };
 14                                                    14 
 15         adc-keys {                                 15         adc-keys {
 16                 compatible = "adc-keys";           16                 compatible = "adc-keys";
 17                 io-channels = <&saradc 1>;         17                 io-channels = <&saradc 1>;
 18                 io-channel-names = "buttons";      18                 io-channel-names = "buttons";
 19                 keyup-threshold-microvolt = <1     19                 keyup-threshold-microvolt = <1800000>;
 20                                                    20 
 21                 button-recovery {                  21                 button-recovery {
 22                         label = "Recovery";        22                         label = "Recovery";
 23                         linux,code = <KEY_VEND     23                         linux,code = <KEY_VENDOR>;
 24                         press-threshold-microv     24                         press-threshold-microvolt = <0>;
 25                 };                                 25                 };
 26         };                                         26         };
 27                                                    27 
 28         gpio-keys {                                28         gpio-keys {
 29                 compatible = "gpio-keys";          29                 compatible = "gpio-keys";
 30                                                    30 
 31                 key-power {                        31                 key-power {
 32                         gpios = <&gpio0 RK_PA5     32                         gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
 33                         label = "GPIO Power";      33                         label = "GPIO Power";
 34                         linux,code = <KEY_POWE     34                         linux,code = <KEY_POWER>;
 35                         pinctrl-names = "defau     35                         pinctrl-names = "default";
 36                         pinctrl-0 = <&pwr_key>     36                         pinctrl-0 = <&pwr_key>;
 37                         wakeup-source;             37                         wakeup-source;
 38                 };                                 38                 };
 39         };                                         39         };
 40                                                    40 
 41         gpio-leds {                                41         gpio-leds {
 42                 compatible = "gpio-leds";          42                 compatible = "gpio-leds";
 43                                                    43 
 44                 heartbeat_led: led-0 {             44                 heartbeat_led: led-0 {
 45                         gpios = <&gpio7 RK_PB7     45                         gpios = <&gpio7 RK_PB7 GPIO_ACTIVE_LOW>;
 46                         label = "rock2:green:s     46                         label = "rock2:green:state1";
 47                         linux,default-trigger      47                         linux,default-trigger = "heartbeat";
 48                 };                                 48                 };
 49                                                    49 
 50                 mmc_led: led-1 {                   50                 mmc_led: led-1 {
 51                         gpios = <&gpio0 RK_PB3     51                         gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_LOW>;
 52                         label = "rock2:blue:st     52                         label = "rock2:blue:state2";
 53                         linux,default-trigger      53                         linux,default-trigger = "mmc0";
 54                 };                                 54                 };
 55         };                                         55         };
 56                                                    56 
 57         ir: ir-receiver {                          57         ir: ir-receiver {
 58                 compatible = "gpio-ir-receiver     58                 compatible = "gpio-ir-receiver";
 59                 gpios = <&gpio8 RK_PA1 GPIO_AC     59                 gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>;
 60                 pinctrl-names = "default";         60                 pinctrl-names = "default";
 61                 pinctrl-0 = <&ir_int>;             61                 pinctrl-0 = <&ir_int>;
 62         };                                         62         };
 63                                                    63 
 64         sound {                                    64         sound {
 65                 compatible = "simple-audio-car     65                 compatible = "simple-audio-card";
 66                 simple-audio-card,name = "SPDI     66                 simple-audio-card,name = "SPDIF";
 67                 simple-audio-card,dai-link@1 {     67                 simple-audio-card,dai-link@1 {  /* S/PDIF - S/PDIF */
 68                         cpu { sound-dai = <&sp     68                         cpu { sound-dai = <&spdif>; };
 69                         codec { sound-dai = <&     69                         codec { sound-dai = <&spdif_out>; };
 70                 };                                 70                 };
 71         };                                         71         };
 72                                                    72 
 73         sata_pwr: sata-prw-regulator {             73         sata_pwr: sata-prw-regulator {
 74                 compatible = "regulator-fixed"     74                 compatible = "regulator-fixed";
 75                 enable-active-high;                75                 enable-active-high;
 76                 gpio = <&gpio0 13 GPIO_ACTIVE_     76                 gpio = <&gpio0 13 GPIO_ACTIVE_HIGH>;
 77                 pinctrl-names = "default";         77                 pinctrl-names = "default";
 78                 pinctrl-0 = <&sata_pwr_en>;        78                 pinctrl-0 = <&sata_pwr_en>;
 79                 /* Always turn on the 5V sata      79                 /* Always turn on the 5V sata power connector */
 80                 regulator-always-on;               80                 regulator-always-on;
 81                 regulator-name = "sata_pwr";       81                 regulator-name = "sata_pwr";
 82         };                                         82         };
 83                                                    83 
 84         spdif_out: spdif-out {                     84         spdif_out: spdif-out {
 85                 compatible = "linux,spdif-dit"     85                 compatible = "linux,spdif-dit";
 86                 #sound-dai-cells = <0>;            86                 #sound-dai-cells = <0>;
 87         };                                         87         };
 88                                                    88 
 89         sound-i2s {                                89         sound-i2s {
 90                 compatible = "rockchip,rk3288-     90                 compatible = "rockchip,rk3288-hdmi-analog";
 91                 pinctrl-names = "default";         91                 pinctrl-names = "default";
 92                 pinctrl-0 = <&phone_ctl>, <&hp     92                 pinctrl-0 = <&phone_ctl>, <&hp_det>;
 93                 rockchip,audio-codec = <&es838     93                 rockchip,audio-codec = <&es8388>;
 94                 rockchip,hp-det-gpios = <&gpio     94                 rockchip,hp-det-gpios = <&gpio7 7 GPIO_ACTIVE_HIGH>;
 95                 rockchip,hp-en-gpios = <&gpio8     95                 rockchip,hp-en-gpios = <&gpio8 0 GPIO_ACTIVE_HIGH>;
 96                 rockchip,i2s-controller = <&i2     96                 rockchip,i2s-controller = <&i2s>;
 97                 rockchip,model = "I2S";            97                 rockchip,model = "I2S";
 98                 rockchip,routing = "Analog", "     98                 rockchip,routing = "Analog", "LOUT2",
 99                                    "Analog", "     99                                    "Analog", "ROUT2";
100         };                                        100         };
101                                                   101 
102         sdio_pwrseq: sdio-pwrseq {                102         sdio_pwrseq: sdio-pwrseq {
103                 compatible = "mmc-pwrseq-simpl    103                 compatible = "mmc-pwrseq-simple";
104                 clocks = <&hym8563>;              104                 clocks = <&hym8563>;
105                 clock-names = "ext_clock";        105                 clock-names = "ext_clock";
106                 pinctrl-names = "default";        106                 pinctrl-names = "default";
107                 pinctrl-0 = <&wifi_enable>;       107                 pinctrl-0 = <&wifi_enable>;
108                 reset-gpios = <&gpio4 RK_PD4 G    108                 reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
109         };                                        109         };
110                                                   110 
111         vcc_usb_host: vcc-host-regulator {        111         vcc_usb_host: vcc-host-regulator {
112                 compatible = "regulator-fixed"    112                 compatible = "regulator-fixed";
113                 enable-active-high;               113                 enable-active-high;
114                 gpio = <&gpio0 RK_PB6 GPIO_ACT    114                 gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
115                 pinctrl-names = "default";        115                 pinctrl-names = "default";
116                 pinctrl-0 = <&host_vbus_drv>;     116                 pinctrl-0 = <&host_vbus_drv>;
117                 regulator-name = "vcc_host";      117                 regulator-name = "vcc_host";
118         };                                        118         };
119                                                   119 
120         vcc_sd: sdmmc-regulator {                 120         vcc_sd: sdmmc-regulator {
121                 compatible = "regulator-fixed"    121                 compatible = "regulator-fixed";
122                 gpio = <&gpio7 RK_PB3 GPIO_ACT    122                 gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
123                 pinctrl-names = "default";        123                 pinctrl-names = "default";
124                 pinctrl-0 = <&sdmmc_pwr>;         124                 pinctrl-0 = <&sdmmc_pwr>;
125                 regulator-name = "vcc_sd";        125                 regulator-name = "vcc_sd";
126                 regulator-min-microvolt = <330    126                 regulator-min-microvolt = <3300000>;
127                 regulator-max-microvolt = <330    127                 regulator-max-microvolt = <3300000>;
128                 vin-supply = <&vcc_io>;           128                 vin-supply = <&vcc_io>;
129         };                                        129         };
130 };                                                130 };
131                                                   131 
132 &sdio0 {                                          132 &sdio0 {
133         bus-width = <4>;                          133         bus-width = <4>;
134         cap-sd-highspeed;                         134         cap-sd-highspeed;
135         cap-sdio-irq;                             135         cap-sdio-irq;
136         mmc-pwrseq = <&sdio_pwrseq>;              136         mmc-pwrseq = <&sdio_pwrseq>;
137         non-removable;                            137         non-removable;
138         pinctrl-names = "default";                138         pinctrl-names = "default";
139         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &s    139         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk &sdio0_int>;
140         vmmc-supply = <&vcc_io>;                  140         vmmc-supply = <&vcc_io>;
141         vqmmc-supply = <&vcc_18>;                 141         vqmmc-supply = <&vcc_18>;
142         status = "okay";                          142         status = "okay";
143 };                                                143 };
144                                                   144 
145 &sdmmc {                                          145 &sdmmc {
146         bus-width = <4>;                          146         bus-width = <4>;
147         cap-mmc-highspeed;                        147         cap-mmc-highspeed;
148         cap-sd-highspeed;                         148         cap-sd-highspeed;
149         card-detect-delay = <200>;                149         card-detect-delay = <200>;
150         disable-wp;     /* wp not hooked up */    150         disable-wp;     /* wp not hooked up */
151         pinctrl-names = "default";                151         pinctrl-names = "default";
152         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sd    152         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
153         vmmc-supply = <&vcc_sd>;                  153         vmmc-supply = <&vcc_sd>;
154         vqmmc-supply = <&vccio_sd>;               154         vqmmc-supply = <&vccio_sd>;
155         status = "okay";                          155         status = "okay";
156 };                                                156 };
157                                                   157 
158 &gmac {                                           158 &gmac {
159         status = "okay";                          159         status = "okay";
160 };                                                160 };
161                                                   161 
162 &hdmi {                                           162 &hdmi {
163         ddc-i2c-bus = <&i2c5>;                    163         ddc-i2c-bus = <&i2c5>;
164         status = "okay";                          164         status = "okay";
165 };                                                165 };
166                                                   166 
167 &i2c0 {                                           167 &i2c0 {
168         hym8563: rtc@51 {                         168         hym8563: rtc@51 {
169                 compatible = "haoyu,hym8563";     169                 compatible = "haoyu,hym8563";
170                 reg = <0x51>;                     170                 reg = <0x51>;
171                 #clock-cells = <0>;               171                 #clock-cells = <0>;
172                 clock-output-names = "xin32k";    172                 clock-output-names = "xin32k";
173                 interrupt-parent = <&gpio0>;      173                 interrupt-parent = <&gpio0>;
174                 interrupts = <RK_PA4 IRQ_TYPE_    174                 interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
175                 pinctrl-names = "default";        175                 pinctrl-names = "default";
176                 pinctrl-0 = <&pmic_int>;          176                 pinctrl-0 = <&pmic_int>;
177                                                   177 
178         };                                        178         };
179 };                                                179 };
180                                                   180 
181 &i2c2 {                                           181 &i2c2 {
182         status = "okay";                          182         status = "okay";
183                                                   183 
184         es8388: es8388@10 {                       184         es8388: es8388@10 {
185                 compatible = "everest,es8388",    185                 compatible = "everest,es8388", "everest,es8328";
186                 reg = <0x10>;                     186                 reg = <0x10>;
187                 AVDD-supply = <&vccio_codec>;     187                 AVDD-supply = <&vccio_codec>;
188                 DVDD-supply = <&vccio_codec>;     188                 DVDD-supply = <&vccio_codec>;
189                 HPVDD-supply = <&vccio_codec>;    189                 HPVDD-supply = <&vccio_codec>;
190                 PVDD-supply = <&vccio_codec>;     190                 PVDD-supply = <&vccio_codec>;
191                 clocks = <&cru SCLK_I2S0_OUT>;    191                 clocks = <&cru SCLK_I2S0_OUT>;
192         };                                        192         };
193 };                                                193 };
194                                                   194 
195 &i2c5 {                                           195 &i2c5 {
196         status = "okay";                          196         status = "okay";
197 };                                                197 };
198                                                   198 
199 &i2s {                                            199 &i2s {
200         status = "okay";                          200         status = "okay";
201 };                                                201 };
202                                                   202 
203 &pinctrl {                                        203 &pinctrl {
204         ir {                                      204         ir {
205                 ir_int: ir-int {                  205                 ir_int: ir-int {
206                         rockchip,pins = <8 RK_    206                         rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
207                 };                                207                 };
208         };                                        208         };
209                                                   209 
210         keys {                                    210         keys {
211                 pwr_key: pwr-key {                211                 pwr_key: pwr-key {
212                         rockchip,pins = <0 RK_    212                         rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
213                 };                                213                 };
214         };                                        214         };
215                                                   215 
216         pmic {                                    216         pmic {
217                 pmic_int: pmic-int {              217                 pmic_int: pmic-int {
218                         rockchip,pins = <0 RK_    218                         rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
219                 };                                219                 };
220         };                                        220         };
221                                                   221 
222         headphone {                               222         headphone {
223                 hp_det: hp-det {                  223                 hp_det: hp-det {
224                         rockchip,pins = <7 RK_    224                         rockchip,pins = <7 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
225                 };                                225                 };
226                                                   226 
227                 phone_ctl: phone-ctl {            227                 phone_ctl: phone-ctl {
228                         rockchip,pins = <8 RK_    228                         rockchip,pins = <8 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
229                 };                                229                 };
230         };                                        230         };
231                                                   231 
232         usb {                                     232         usb {
233                 host_vbus_drv: host-vbus-drv {    233                 host_vbus_drv: host-vbus-drv {
234                         rockchip,pins = <0 RK_    234                         rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
235                 };                                235                 };
236         };                                        236         };
237                                                   237 
238         sata {                                    238         sata {
239                 sata_pwr_en: sata-pwr-en {        239                 sata_pwr_en: sata-pwr-en {
240                         rockchip,pins = <0 RK_    240                         rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
241                 };                                241                 };
242         };                                        242         };
243                                                   243 
244         sdmmc {                                   244         sdmmc {
245                 sdmmc_pwr: sdmmc-pwr {            245                 sdmmc_pwr: sdmmc-pwr {
246                         rockchip,pins = <7 RK_    246                         rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
247                 };                                247                 };
248         };                                        248         };
249                                                   249 
250         sdio {                                    250         sdio {
251                 wifi_enable: wifi-enable {        251                 wifi_enable: wifi-enable {
252                         rockchip,pins = <4 RK_    252                         rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
253                 };                                253                 };
254         };                                        254         };
255 };                                                255 };
256                                                   256 
257 &saradc {                                         257 &saradc {
258         status = "okay";                          258         status = "okay";
259 };                                                259 };
260                                                   260 
261 &spdif {                                          261 &spdif {
262         status = "okay";                          262         status = "okay";
263 };                                                263 };
264                                                   264 
265 &uart2 {                                          265 &uart2 {
266         status = "okay";                          266         status = "okay";
267 };                                                267 };
268                                                   268 
269 &usbphy {                                         269 &usbphy {
270         status = "okay";                          270         status = "okay";
271 };                                                271 };
272                                                   272 
273 &usbphy1 {                                        273 &usbphy1 {
274         vbus-supply = <&vcc_usb_host>;            274         vbus-supply = <&vcc_usb_host>;
275 };                                                275 };
276                                                   276 
277 &usb_host0_ehci {                                 277 &usb_host0_ehci {
278         status = "okay";                          278         status = "okay";
279 };                                                279 };
280                                                   280 
281 &usb_host1 {                                      281 &usb_host1 {
282         status = "okay";                          282         status = "okay";
283 };                                                283 };
284                                                   284 
285 &usb_otg {                                        285 &usb_otg {
286         status = "okay";                          286         status = "okay";
287 };                                                287 };
                                                      

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