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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi-cm4-cm4io.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/amlogic/meson-g12b-bananapi-cm4-cm4io.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/amlogic/meson-g12b-bananapi-cm4-cm4io.dts (Version linux-5.7.19)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (c) 2023 Neil Armstrong <neil.arms    
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7                                                   
  8 #include "meson-g12b-bananapi-cm4.dtsi"           
  9 #include <dt-bindings/input/input.h>              
 10 #include <dt-bindings/leds/common.h>              
 11 #include <dt-bindings/sound/meson-g12a-tohdmit    
 12                                                   
 13 / {                                               
 14         compatible = "bananapi,bpi-cm4io", "ba    
 15         model = "BananaPi BPI-CM4IO Baseboard     
 16                                                   
 17         aliases {                                 
 18                 ethernet0 = &ethmac;              
 19                 i2c0 = &i2c1;                     
 20                 i2c1 = &i2c3;                     
 21         };                                        
 22                                                   
 23         adc-keys {                                
 24                 compatible = "adc-keys";          
 25                 io-channels = <&saradc 2>;        
 26                 io-channel-names = "buttons";     
 27                 keyup-threshold-microvolt = <1    
 28                                                   
 29                 button-function {                 
 30                         label = "Function";       
 31                         linux,code = <KEY_FN>;    
 32                         press-threshold-microv    
 33                 };                                
 34         };                                        
 35                                                   
 36         hdmi_connector: hdmi-connector {          
 37                 compatible = "hdmi-connector";    
 38                 type = "a";                       
 39                                                   
 40                 port {                            
 41                         hdmi_connector_in: end    
 42                                 remote-endpoin    
 43                         };                        
 44                 };                                
 45         };                                        
 46                                                   
 47         leds {                                    
 48                 compatible = "gpio-leds";         
 49                                                   
 50                 led-blue {                        
 51                         color = <LED_COLOR_ID_    
 52                         function = LED_FUNCTIO    
 53                         gpios = <&gpio_ao GPIO    
 54                         linux,default-trigger     
 55                 };                                
 56                                                   
 57                 led-green {                       
 58                         color = <LED_COLOR_ID_    
 59                         function = LED_FUNCTIO    
 60                         gpios = <&gpio_ao GPIO    
 61                 };                                
 62         };                                        
 63                                                   
 64         sound {                                   
 65                 compatible = "amlogic,axg-soun    
 66                 model = "BPI-CM4IO";              
 67                 audio-aux-devs = <&tdmout_b>;     
 68                 audio-routing = "TDMOUT_B IN 0    
 69                                 "TDMOUT_B IN 1    
 70                                 "TDMOUT_B IN 2    
 71                                 "TDM_B Playbac    
 72                                                   
 73                 clocks = <&clkc CLKID_MPLL2>,     
 74                          <&clkc CLKID_MPLL0>,     
 75                          <&clkc CLKID_MPLL1>;     
 76                                                   
 77                 assigned-clocks = <&clkc CLKID    
 78                                   <&clkc CLKID    
 79                                   <&clkc CLKID    
 80                 assigned-clock-parents = <0>,     
 81                 assigned-clock-rates = <294912    
 82                                        <270950    
 83                                        <393216    
 84                                                   
 85                 dai-link-0 {                      
 86                         sound-dai = <&frddr_a>    
 87                 };                                
 88                                                   
 89                 dai-link-1 {                      
 90                         sound-dai = <&frddr_b>    
 91                 };                                
 92                                                   
 93                 dai-link-2 {                      
 94                         sound-dai = <&frddr_c>    
 95                 };                                
 96                                                   
 97                 /* 8ch hdmi interface */          
 98                 dai-link-3 {                      
 99                         sound-dai = <&tdmif_b>    
100                         dai-format = "i2s";       
101                         dai-tdm-slot-tx-mask-0    
102                         dai-tdm-slot-tx-mask-1    
103                         dai-tdm-slot-tx-mask-2    
104                         dai-tdm-slot-tx-mask-3    
105                         mclk-fs = <256>;          
106                                                   
107                         codec {                   
108                                 sound-dai = <&    
109                         };                        
110                 };                                
111                                                   
112                 /* hdmi glue */                   
113                 dai-link-4 {                      
114                         sound-dai = <&tohdmitx    
115                                                   
116                         codec {                   
117                                 sound-dai = <&    
118                         };                        
119                 };                                
120         };                                        
121 };                                                
122                                                   
123 &cecb_AO {                                        
124         status = "okay";                          
125 };                                                
126                                                   
127 &ethmac {                                         
128         status = "okay";                          
129 };                                                
130                                                   
131 &hdmi_tx {                                        
132         status = "okay";                          
133 };                                                
134                                                   
135 &hdmi_tx_tmds_port {                              
136         hdmi_tx_tmds_out: endpoint {              
137                 remote-endpoint = <&hdmi_conne    
138         };                                        
139 };                                                
140                                                   
141 /* CSI port */                                    
142 &i2c1 {                                           
143         status = "okay";                          
144 };                                                
145                                                   
146 /* DSI port for touchscreen */                    
147 &i2c3 {                                           
148         status = "okay";                          
149 };                                                
150                                                   
151 /* miniPCIe port with USB + SIM slot */           
152 &pcie {                                           
153         status = "okay";                          
154 };                                                
155                                                   
156 &sd_emmc_b {                                      
157         status = "okay";                          
158 };                                                
159                                                   
160 &tohdmitx {                                       
161         status = "okay";                          
162 };                                                
163                                                   
164 /* Peripheral Only USB-C port */                  
165 &usb {                                            
166         dr_mode = "peripheral";                   
167                                                   
168         status = "okay";                          
169 };                                                
                                                      

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