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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts (Version linux-6.11-rc3) and /arch/i386/boot/dts/mediatek/mt8183-pumpkin.dts (Version linux-2.6.0)


  1 // SPDX-License-Identifier: GPL-2.0               
  2 /*                                                
  3  * Copyright (c) 2021 BayLibre, SAS.              
  4  * Author: Fabien Parent <fparent@baylibre.com>    
  5  */                                               
  6                                                   
  7 /dts-v1/;                                         
  8                                                   
  9 #include <dt-bindings/gpio/gpio.h>                
 10 #include <dt-bindings/input/input.h>              
 11 #include "mt8183.dtsi"                            
 12 #include "mt6358.dtsi"                            
 13                                                   
 14 / {                                               
 15         model = "Pumpkin MT8183";                 
 16         compatible = "mediatek,mt8183-pumpkin"    
 17                                                   
 18         aliases {                                 
 19                 serial0 = &uart0;                 
 20         };                                        
 21                                                   
 22         memory@40000000 {                         
 23                 device_type = "memory";           
 24                 reg = <0 0x40000000 0 0x800000    
 25         };                                        
 26                                                   
 27         chosen {                                  
 28                 stdout-path = "serial0:921600n    
 29         };                                        
 30                                                   
 31         reserved-memory {                         
 32                 #address-cells = <2>;             
 33                 #size-cells = <2>;                
 34                 ranges;                           
 35                                                   
 36                 scp_mem_reserved: scp-mem@5000    
 37                         compatible = "shared-d    
 38                         reg = <0 0x50000000 0     
 39                         no-map;                   
 40                 };                                
 41         };                                        
 42                                                   
 43         leds {                                    
 44                 compatible = "gpio-leds";         
 45                                                   
 46                 led-red {                         
 47                         label = "red";            
 48                         gpios = <&pio 155 GPIO    
 49                         default-state = "off";    
 50                 };                                
 51                                                   
 52                 led-green {                       
 53                         label = "green";          
 54                         gpios = <&pio 156 GPIO    
 55                         default-state = "off";    
 56                 };                                
 57         };                                        
 58                                                   
 59         thermistor {                              
 60                 compatible = "murata,ncp03wf10    
 61                 pullup-uv = <1800000>;            
 62                 pullup-ohm = <390000>;            
 63                 pulldown-ohm = <0>;               
 64                 io-channels = <&auxadc 0>;        
 65         };                                        
 66 };                                                
 67                                                   
 68 &auxadc {                                         
 69         status = "okay";                          
 70 };                                                
 71                                                   
 72 &gpu {                                            
 73         mali-supply = <&mt6358_vgpu_reg>;         
 74 };                                                
 75                                                   
 76 &i2c0 {                                           
 77         pinctrl-names = "default";                
 78         pinctrl-0 = <&i2c_pins_0>;                
 79         status = "okay";                          
 80         clock-frequency = <100000>;               
 81 };                                                
 82                                                   
 83 &i2c1 {                                           
 84         pinctrl-names = "default";                
 85         pinctrl-0 = <&i2c_pins_1>;                
 86         status = "okay";                          
 87         clock-frequency = <100000>;               
 88 };                                                
 89                                                   
 90 &i2c2 {                                           
 91         pinctrl-names = "default";                
 92         pinctrl-0 = <&i2c_pins_2>;                
 93         status = "okay";                          
 94         clock-frequency = <100000>;               
 95 };                                                
 96                                                   
 97 &i2c3 {                                           
 98         pinctrl-names = "default";                
 99         pinctrl-0 = <&i2c_pins_3>;                
100         status = "okay";                          
101         clock-frequency = <100000>;               
102 };                                                
103                                                   
104 &i2c4 {                                           
105         pinctrl-names = "default";                
106         pinctrl-0 = <&i2c_pins_4>;                
107         status = "okay";                          
108         clock-frequency = <100000>;               
109 };                                                
110                                                   
111 &i2c5 {                                           
112         pinctrl-names = "default";                
113         pinctrl-0 = <&i2c_pins_5>;                
114         status = "okay";                          
115         clock-frequency = <100000>;               
116 };                                                
117                                                   
118 &i2c6 {                                           
119         pinctrl-names = "default";                
120         pinctrl-0 = <&i2c6_pins>;                 
121         status = "okay";                          
122         clock-frequency = <100000>;               
123 };                                                
124                                                   
125 &keyboard {                                       
126         pinctrl-names = "default";                
127         pinctrl-0 = <&keyboard_pins>;             
128         status = "okay";                          
129         linux,keymap = <MATRIX_KEY(0x00, 0x00,    
130                         MATRIX_KEY(0x01, 0x00,    
131         keypad,num-rows = <2>;                    
132         keypad,num-columns = <1>;                 
133         debounce-delay-ms = <32>;                 
134         mediatek,keys-per-group = <2>;            
135 };                                                
136                                                   
137 &mmc0 {                                           
138         status = "okay";                          
139         pinctrl-names = "default", "state_uhs"    
140         pinctrl-0 = <&mmc0_pins_default>;         
141         pinctrl-1 = <&mmc0_pins_uhs>;             
142         bus-width = <8>;                          
143         max-frequency = <200000000>;              
144         cap-mmc-highspeed;                        
145         mmc-hs200-1_8v;                           
146         mmc-hs400-1_8v;                           
147         cap-mmc-hw-reset;                         
148         no-sdio;                                  
149         no-sd;                                    
150         hs400-ds-delay = <0x12814>;               
151         vmmc-supply = <&mt6358_vemc_reg>;         
152         vqmmc-supply = <&mt6358_vio18_reg>;       
153         assigned-clocks = <&topckgen CLK_TOP_M    
154         assigned-clock-parents = <&topckgen CL    
155         non-removable;                            
156 };                                                
157                                                   
158 &mmc1 {                                           
159         status = "okay";                          
160         pinctrl-names = "default", "state_uhs"    
161         pinctrl-0 = <&mmc1_pins_default>;         
162         pinctrl-1 = <&mmc1_pins_uhs>;             
163         bus-width = <4>;                          
164         max-frequency = <200000000>;              
165         cap-sd-highspeed;                         
166         sd-uhs-sdr50;                             
167         sd-uhs-sdr104;                            
168         cap-sdio-irq;                             
169         no-mmc;                                   
170         no-sd;                                    
171         vmmc-supply = <&mt6358_vmch_reg>;         
172         vqmmc-supply = <&mt6358_vmc_reg>;         
173         keep-power-in-suspend;                    
174         wakeup-source;                            
175         non-removable;                            
176 };                                                
177                                                   
178 &mt6358_vgpu_reg {                                
179         regulator-min-microvolt = <625000>;       
180         regulator-max-microvolt = <900000>;       
181                                                   
182         regulator-coupled-with = <&mt6358_vsra    
183         regulator-coupled-max-spread = <100000    
184 };                                                
185                                                   
186 &mt6358_vsram_gpu_reg {                           
187         regulator-min-microvolt = <850000>;       
188         regulator-max-microvolt = <1000000>;      
189                                                   
190         regulator-coupled-with = <&mt6358_vgpu    
191         regulator-coupled-max-spread = <100000    
192 };                                                
193                                                   
194 &pio {                                            
195         i2c_pins_0: i2c0 {                        
196                 pins_i2c {                        
197                         pinmux = <PINMUX_GPIO8    
198                                  <PINMUX_GPIO8    
199                         mediatek,pull-up-adv =    
200                 };                                
201         };                                        
202                                                   
203         i2c_pins_1: i2c1 {                        
204                 pins_i2c {                        
205                         pinmux = <PINMUX_GPIO8    
206                                  <PINMUX_GPIO8    
207                         mediatek,pull-up-adv =    
208                 };                                
209         };                                        
210                                                   
211         i2c_pins_2: i2c2 {                        
212                 pins_i2c {                        
213                         pinmux = <PINMUX_GPIO1    
214                                  <PINMUX_GPIO1    
215                         mediatek,pull-up-adv =    
216                 };                                
217         };                                        
218                                                   
219         i2c_pins_3: i2c3 {                        
220                 pins_i2c {                        
221                         pinmux = <PINMUX_GPIO5    
222                                  <PINMUX_GPIO5    
223                         mediatek,pull-up-adv =    
224                 };                                
225         };                                        
226                                                   
227         i2c_pins_4: i2c4 {                        
228                 pins_i2c {                        
229                         pinmux = <PINMUX_GPIO1    
230                                  <PINMUX_GPIO1    
231                         mediatek,pull-up-adv =    
232                 };                                
233         };                                        
234                                                   
235         i2c_pins_5: i2c5 {                        
236                 pins_i2c {                        
237                         pinmux = <PINMUX_GPIO4    
238                                  <PINMUX_GPIO4    
239                         mediatek,pull-up-adv =    
240                 };                                
241         };                                        
242                                                   
243         i2c6_pins: i2c6 {                         
244                 pins_cmd_dat {                    
245                         pinmux = <PINMUX_GPIO1    
246                                  <PINMUX_GPIO1    
247                         mediatek,pull-up-adv =    
248                 };                                
249         };                                        
250                                                   
251         keyboard_pins: keyboard {                 
252                 pins_keyboard {                   
253                         pinmux = <PINMUX_GPIO9    
254                                  <PINMUX_GPIO9    
255                                  <PINMUX_GPIO9    
256                 };                                
257         };                                        
258                                                   
259         mmc0_pins_default: mmc0-pins-default {    
260                 pins_cmd_dat {                    
261                         pinmux = <PINMUX_GPIO1    
262                                  <PINMUX_GPIO1    
263                                  <PINMUX_GPIO1    
264                                  <PINMUX_GPIO1    
265                                  <PINMUX_GPIO1    
266                                  <PINMUX_GPIO1    
267                                  <PINMUX_GPIO1    
268                                  <PINMUX_GPIO1    
269                                  <PINMUX_GPIO1    
270                         input-enable;             
271                         drive-strength = <MTK_    
272                         mediatek,pull-up-adv =    
273                 };                                
274                                                   
275                 pins_clk {                        
276                         pinmux = <PINMUX_GPIO1    
277                         drive-strength = <MTK_    
278                         mediatek,pull-down-adv    
279                 };                                
280                                                   
281                 pins_rst {                        
282                         pinmux = <PINMUX_GPIO1    
283                         drive-strength = <MTK_    
284                         mediatek,pull-down-adv    
285                 };                                
286         };                                        
287                                                   
288         mmc0_pins_uhs: mmc0-pins-uhs {            
289                 pins_cmd_dat {                    
290                         pinmux = <PINMUX_GPIO1    
291                                  <PINMUX_GPIO1    
292                                  <PINMUX_GPIO1    
293                                  <PINMUX_GPIO1    
294                                  <PINMUX_GPIO1    
295                                  <PINMUX_GPIO1    
296                                  <PINMUX_GPIO1    
297                                  <PINMUX_GPIO1    
298                                  <PINMUX_GPIO1    
299                         input-enable;             
300                         drive-strength = <MTK_    
301                         mediatek,pull-up-adv =    
302                 };                                
303                                                   
304                 pins_clk {                        
305                         pinmux = <PINMUX_GPIO1    
306                         drive-strength = <MTK_    
307                         mediatek,pull-down-adv    
308                 };                                
309                                                   
310                 pins_ds {                         
311                         pinmux = <PINMUX_GPIO1    
312                         drive-strength = <MTK_    
313                         mediatek,pull-down-adv    
314                 };                                
315                                                   
316                 pins_rst {                        
317                         pinmux = <PINMUX_GPIO1    
318                         drive-strength = <MTK_    
319                         mediatek,pull-up-adv =    
320                 };                                
321         };                                        
322                                                   
323         mmc1_pins_default: mmc1-pins-default {    
324                 pins_cmd_dat {                    
325                         pinmux = <PINMUX_GPIO3    
326                                  <PINMUX_GPIO3    
327                                  <PINMUX_GPIO3    
328                                  <PINMUX_GPIO3    
329                                  <PINMUX_GPIO3    
330                         input-enable;             
331                         mediatek,pull-up-adv =    
332                 };                                
333                                                   
334                 pins_clk {                        
335                         pinmux = <PINMUX_GPIO2    
336                         input-enable;             
337                         mediatek,pull-down-adv    
338                 };                                
339                                                   
340                 pins_pmu {                        
341                         pinmux = <PINMUX_GPIO1    
342                         output-high;              
343                 };                                
344         };                                        
345                                                   
346         mmc1_pins_uhs: mmc1-pins-uhs {            
347                 pins_cmd_dat {                    
348                         pinmux = <PINMUX_GPIO3    
349                                  <PINMUX_GPIO3    
350                                  <PINMUX_GPIO3    
351                                  <PINMUX_GPIO3    
352                                  <PINMUX_GPIO3    
353                         drive-strength = <6>;     
354                         input-enable;             
355                         mediatek,pull-up-adv =    
356                 };                                
357                                                   
358                 pins_clk {                        
359                         pinmux = <PINMUX_GPIO2    
360                         drive-strength = <8>;     
361                         mediatek,pull-down-adv    
362                         input-enable;             
363                 };                                
364         };                                        
365 };                                                
366                                                   
367 &pmic {                                           
368         interrupts-extended = <&pio 182 IRQ_TY    
369 };                                                
370                                                   
371 &mfg {                                            
372         domain-supply = <&mt6358_vgpu_reg>;       
373 };                                                
374                                                   
375 &cpu0 {                                           
376         proc-supply = <&mt6358_vproc12_reg>;      
377 };                                                
378                                                   
379 &cpu1 {                                           
380         proc-supply = <&mt6358_vproc12_reg>;      
381 };                                                
382                                                   
383 &cpu2 {                                           
384         proc-supply = <&mt6358_vproc12_reg>;      
385 };                                                
386                                                   
387 &cpu3 {                                           
388         proc-supply = <&mt6358_vproc12_reg>;      
389 };                                                
390                                                   
391 &cpu4 {                                           
392         proc-supply = <&mt6358_vproc11_reg>;      
393 };                                                
394                                                   
395 &cpu5 {                                           
396         proc-supply = <&mt6358_vproc11_reg>;      
397 };                                                
398                                                   
399 &cpu6 {                                           
400         proc-supply = <&mt6358_vproc11_reg>;      
401 };                                                
402                                                   
403 &cpu7 {                                           
404         proc-supply = <&mt6358_vproc11_reg>;      
405 };                                                
406                                                   
407 &uart0 {                                          
408         status = "okay";                          
409 };                                                
410                                                   
411 &scp {                                            
412         status = "okay";                          
413 };                                                
414                                                   
415 &dsi0 {                                           
416         status = "disabled";                      
417 };                                                
                                                      

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