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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.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 /arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/rockchip/px30-ringneck-haikou.dts (Version policy-sample)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (c) 2022 Theobroma Systems Design    
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7 #include "px30-ringneck.dtsi"                     
  8 #include <dt-bindings/input/input.h>              
  9 #include <dt-bindings/leds/common.h>              
 10                                                   
 11 / {                                               
 12         model = "Theobroma Systems PX30-uQ7 So    
 13         compatible = "tsd,px30-ringneck-haikou    
 14                                                   
 15         aliases {                                 
 16                 ethernet0 = &gmac;                
 17                 mmc2 = &sdmmc;                    
 18         };                                        
 19                                                   
 20         chosen {                                  
 21                 stdout-path = "serial0:115200n    
 22         };                                        
 23                                                   
 24         gpio-keys {                               
 25                 compatible = "gpio-keys";         
 26                 pinctrl-0 = <&haikou_keys_pin>    
 27                 pinctrl-names = "default";        
 28                                                   
 29                 button-batlow-n {                 
 30                         label = "BATLOW#";        
 31                         linux,code = <KEY_BATT    
 32                         gpios = <&gpio3 RK_PA7    
 33                 };                                
 34                                                   
 35                 button-slp-btn-n {                
 36                         label = "SLP_BTN#";       
 37                         linux,code = <KEY_SLEE    
 38                         gpios = <&gpio1 RK_PB7    
 39                 };                                
 40                                                   
 41                 button-wake-n {                   
 42                         label = "WAKE#";          
 43                         linux,code = <KEY_WAKE    
 44                         gpios = <&gpio1 RK_PB6    
 45                         wakeup-source;            
 46                 };                                
 47                                                   
 48                 switch-lid-btn-n {                
 49                         label = "LID_BTN#";       
 50                         linux,code = <SW_LID>;    
 51                         linux,input-type = <EV    
 52                         gpios = <&gpio3 RK_PA6    
 53                 };                                
 54         };                                        
 55                                                   
 56         leds {                                    
 57                 pinctrl-0 = <&module_led_pin>,    
 58                                                   
 59                 sd_card_led: led-1 {              
 60                         gpios = <&gpio3 RK_PB3    
 61                         linux,default-trigger     
 62                         function = LED_FUNCTIO    
 63                         color = <LED_COLOR_ID_    
 64                 };                                
 65         };                                        
 66                                                   
 67         i2s0-sound {                              
 68                 compatible = "simple-audio-car    
 69                 simple-audio-card,format = "i2    
 70                 simple-audio-card,name = "Haik    
 71                 simple-audio-card,mclk-fs = <5    
 72                 simple-audio-card,frame-master    
 73                 simple-audio-card,bitclock-mas    
 74                                                   
 75                 sgtl5000_codec: simple-audio-c    
 76                         sound-dai = <&sgtl5000    
 77                         // Prevent the dai sub    
 78                         // frequency. We are u    
 79                         system-clock-fixed;       
 80                 };                                
 81                                                   
 82                 simple-audio-card,cpu {           
 83                         sound-dai = <&i2s0_8ch    
 84                 };                                
 85         };                                        
 86                                                   
 87         sgtl5000_clk: sgtl5000-oscillator {       
 88                 compatible = "fixed-clock";       
 89                 #clock-cells = <0>;               
 90                 clock-frequency = <24576000>;     
 91         };                                        
 92                                                   
 93         dc_12v: dc-12v-regulator {                
 94                 compatible = "regulator-fixed"    
 95                 regulator-name = "dc_12v";        
 96                 regulator-always-on;              
 97                 regulator-boot-on;                
 98                 regulator-min-microvolt = <120    
 99                 regulator-max-microvolt = <120    
100         };                                        
101                                                   
102         vcc3v3_baseboard: vcc3v3-baseboard-reg    
103                 compatible = "regulator-fixed"    
104                 regulator-name = "vcc3v3_baseb    
105                 regulator-always-on;              
106                 regulator-boot-on;                
107                 regulator-min-microvolt = <330    
108                 regulator-max-microvolt = <330    
109                 vin-supply = <&dc_12v>;           
110         };                                        
111                                                   
112         vcc5v0_baseboard: vcc5v0-baseboard-reg    
113                 compatible = "regulator-fixed"    
114                 regulator-name = "vcc5v0_baseb    
115                 regulator-always-on;              
116                 regulator-boot-on;                
117                 regulator-min-microvolt = <500    
118                 regulator-max-microvolt = <500    
119                 vin-supply = <&dc_12v>;           
120         };                                        
121                                                   
122         vdda_codec: vdda-codec-regulator {        
123                 compatible = "regulator-fixed"    
124                 regulator-name = "vdda_codec";    
125                 regulator-boot-on;                
126                 regulator-min-microvolt = <330    
127                 regulator-max-microvolt = <330    
128                 vin-supply = <&vcc5v0_baseboar    
129         };                                        
130                                                   
131         vddd_codec: vddd-codec-regulator {        
132                 compatible = "regulator-fixed"    
133                 regulator-name = "vddd_codec";    
134                 regulator-boot-on;                
135                 regulator-min-microvolt = <160    
136                 regulator-max-microvolt = <160    
137                 vin-supply = <&vcc5v0_baseboar    
138         };                                        
139 };                                                
140                                                   
141 &i2c2 {                                           
142         status = "okay";                          
143         clock-frequency = <400000>;               
144                                                   
145         sgtl5000: codec@a {                       
146                 compatible = "fsl,sgtl5000";      
147                 reg = <0x0a>;                     
148                 clocks = <&sgtl5000_clk>;         
149                 #sound-dai-cells = <0>;           
150                 VDDA-supply = <&vdda_codec>;      
151                 VDDIO-supply = <&vcc3v3_basebo    
152                 VDDD-supply = <&vddd_codec>;      
153         };                                        
154 };                                                
155                                                   
156 &i2c3 {                                           
157         eeprom@50 {                               
158                 reg = <0x50>;                     
159                 compatible = "atmel,24c01";       
160                 pagesize = <8>;                   
161                 size = <128>;                     
162                 vcc-supply = <&vcc3v3_baseboar    
163         };                                        
164 };                                                
165                                                   
166 &i2s0_8ch {                                       
167         status = "okay";                          
168 };                                                
169                                                   
170 &gmac {                                           
171         status = "okay";                          
172 };                                                
173                                                   
174 &pinctrl {                                        
175         haikou {                                  
176                 haikou_keys_pin: haikou-keys-p    
177                         rockchip,pins =           
178                           /* WAKE# */             
179                           <1 RK_PB6 RK_FUNC_GP    
180                           /* SLP_BTN# */          
181                           <1 RK_PB7 RK_FUNC_GP    
182                           /* LID_BTN */           
183                           <3 RK_PA6 RK_FUNC_GP    
184                           /* BATLOW# */           
185                           <3 RK_PA7 RK_FUNC_GP    
186                           /* BIOS_DISABLE# */     
187                           <2 RK_PC2 RK_FUNC_GP    
188                 };                                
189         };                                        
190                                                   
191         leds {                                    
192                 sd_card_led_pin: sd-card-led-p    
193                         rockchip,pins =           
194                           <3 RK_PB3 RK_FUNC_GP    
195                 };                                
196         };                                        
197 };                                                
198                                                   
199 &pwm0 {                                           
200         status = "okay";                          
201 };                                                
202                                                   
203 &sdmmc {                                          
204         sd-uhs-sdr12;                             
205         sd-uhs-sdr25;                             
206         sd-uhs-sdr50;                             
207         bus-width = <4>;                          
208         cap-mmc-highspeed;                        
209         cap-sd-highspeed;                         
210         cd-gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_    
211         disable-wp;                               
212         vmmc-supply = <&vcc3v3_baseboard>;        
213         status = "okay";                          
214 };                                                
215                                                   
216 &spi1 {                                           
217         status = "okay";                          
218 };                                                
219                                                   
220 &u2phy_otg {                                      
221         status = "okay";                          
222 };                                                
223                                                   
224 &uart0 {                                          
225         status = "okay";                          
226 };                                                
227                                                   
228 &uart5 {                                          
229         pinctrl-0 = <&uart5_xfer>;                
230         rts-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE    
231         status = "okay";                          
232 };                                                
233                                                   
234 &usb20_otg {                                      
235         status = "okay";                          
236 };                                                
                                                      

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