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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/allwinner/sun50i-h618-longanpi-3h.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/allwinner/sun50i-h618-longanpi-3h.dts (Version linux-6.12-rc7) and /arch/i386/boot/dts/allwinner/sun50i-h618-longanpi-3h.dts (Version linux-5.16.20)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)     
  2 /*                                                
  3  * Copyright (C) Jisheng Zhang <jszhang@kernel.    
  4  */                                               
  5                                                   
  6 /dts-v1/;                                         
  7                                                   
  8 #include "sun50i-h618-longan-module-3h.dtsi"      
  9                                                   
 10 #include <dt-bindings/gpio/gpio.h>                
 11 #include <dt-bindings/interrupt-controller/arm    
 12 #include <dt-bindings/leds/common.h>              
 13                                                   
 14 / {                                               
 15         model = "Sipeed Longan Pi 3H";            
 16         compatible = "sipeed,longan-pi-3h", "s    
 17                                                   
 18         aliases {                                 
 19                 ethernet0 = &emac0;               
 20                 serial0 = &uart0;                 
 21         };                                        
 22                                                   
 23         chosen {                                  
 24                 stdout-path = "serial0:115200n    
 25         };                                        
 26                                                   
 27         leds {                                    
 28                 compatible = "gpio-leds";         
 29                                                   
 30                 led-0 {                           
 31                         color = <LED_COLOR_ID_    
 32                         function = LED_FUNCTIO    
 33                         function-enumerator =     
 34                         gpios = <&pio 6 2 GPIO    
 35                 };                                
 36                                                   
 37                 led-1 {                           
 38                         color = <LED_COLOR_ID_    
 39                         function = LED_FUNCTIO    
 40                         function-enumerator =     
 41                         gpios = <&pio 6 4 GPIO    
 42                 };                                
 43         };                                        
 44                                                   
 45         reg_vcc5v: regulator-vcc5v {              
 46                 /* board wide 5V supply direct    
 47                 compatible = "regulator-fixed"    
 48                 regulator-name = "vcc-5v";        
 49                 regulator-min-microvolt = <500    
 50                 regulator-max-microvolt = <500    
 51                 regulator-always-on;              
 52         };                                        
 53                                                   
 54         reg_vcc3v3: regulator-vcc3v3 {            
 55                 compatible = "regulator-fixed"    
 56                 regulator-name = "vcc-3v3";       
 57                 regulator-min-microvolt = <330    
 58                 regulator-max-microvolt = <330    
 59                 regulator-always-on;              
 60                 vin-supply = <&reg_vcc5v>;        
 61         };                                        
 62 };                                                
 63                                                   
 64 &axp313 {                                         
 65         vin1-supply = <&reg_vcc5v>;               
 66         vin2-supply = <&reg_vcc5v>;               
 67         vin3-supply = <&reg_vcc5v>;               
 68 };                                                
 69                                                   
 70 &ehci1 {                                          
 71         status = "okay";                          
 72 };                                                
 73                                                   
 74 &ohci1 {                                          
 75         status = "okay";                          
 76 };                                                
 77                                                   
 78 &ehci2 {                                          
 79         status = "okay";                          
 80 };                                                
 81                                                   
 82 &ohci2 {                                          
 83         status = "okay";                          
 84 };                                                
 85                                                   
 86 /* WiFi & BT combo module is connected to this    
 87 &ehci3 {                                          
 88         status = "okay";                          
 89 };                                                
 90                                                   
 91 &ohci3 {                                          
 92         status = "okay";                          
 93 };                                                
 94                                                   
 95 &emac0 {                                          
 96         pinctrl-names = "default";                
 97         pinctrl-0 = <&ext_rgmii_pins>;            
 98         phy-mode = "rgmii";                       
 99         phy-handle = <&ext_rgmii_phy>;            
100         allwinner,rx-delay-ps = <3100>;           
101         allwinner,tx-delay-ps = <700>;            
102         phy-supply = <&reg_vcc3v3>;               
103         status = "okay";                          
104 };                                                
105                                                   
106 &mdio0 {                                          
107         ext_rgmii_phy: ethernet-phy@1 {           
108                 compatible = "ethernet-phy-iee    
109                 reg = <1>;                        
110         };                                        
111 };                                                
112                                                   
113 &mmc0 {                                           
114         bus-width = <4>;                          
115         cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>    
116         vmmc-supply = <&reg_vcc3v3>;              
117         status = "okay";                          
118 };                                                
119                                                   
120 &uart0 {                                          
121         status = "okay";                          
122 };                                                
123                                                   
124 &usbotg {                                         
125         /*                                        
126          * PHY0 pins are connected to a USB-C     
127          * is not implemented: both CC pins ar    
128          * The VBUS pins power the device, so     
129          * is the best choice.                    
130          * The board can be powered via GPIOs,    
131          * act as a host (with a cable/adapter    
132          * then provided by the GPIOs. Any use    
133          * need to adjust the DT accordingly:     
134          * enabling OHCI0 and EHCI0.              
135          */                                       
136         dr_mode = "peripheral";                   
137         status = "okay";                          
138 };                                                
139                                                   
140 &usbphy {                                         
141         usb1_vbus-supply = <&reg_vcc5v>;          
142         usb2_vbus-supply = <&reg_vcc5v>;          
143         status = "okay";                          
144 };                                                
                                                      

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