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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/allwinner/sun50i-h313-tanix-tx1.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/arm64/allwinner/sun50i-h313-tanix-tx1.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/allwinner/sun50i-h313-tanix-tx1.dts (Version linux-6.11.7)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (C) 2024 Arm Ltd.                      3  * Copyright (C) 2024 Arm Ltd.
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include "sun50i-h616.dtsi"                         8 #include "sun50i-h616.dtsi"
  9                                                     9 
 10 #include <dt-bindings/gpio/gpio.h>                 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/interrupt-controller/arm     11 #include <dt-bindings/interrupt-controller/arm-gic.h>
 12 #include <dt-bindings/input/linux-event-codes.     12 #include <dt-bindings/input/linux-event-codes.h>
 13 #include <dt-bindings/leds/common.h>               13 #include <dt-bindings/leds/common.h>
 14                                                    14 
 15 / {                                                15 / {
 16         model = "Tanix TX1";                       16         model = "Tanix TX1";
 17         compatible = "oranth,tanix-tx1", "allw     17         compatible = "oranth,tanix-tx1", "allwinner,sun50i-h616";
 18                                                    18 
 19         aliases {                                  19         aliases {
 20                 serial0 = &uart0;                  20                 serial0 = &uart0;
 21                 ethernet0 = &sdio_wifi;            21                 ethernet0 = &sdio_wifi;
 22         };                                         22         };
 23                                                    23 
 24         chosen {                                   24         chosen {
 25                 stdout-path = "serial0:115200n     25                 stdout-path = "serial0:115200n8";
 26         };                                         26         };
 27                                                    27 
 28         gpio-keys {                                28         gpio-keys {
 29                 compatible = "gpio-keys";          29                 compatible = "gpio-keys";
 30                                                    30 
 31                 key {                              31                 key {
 32                         label = "hidden";          32                         label = "hidden";
 33                         linux,code = <BTN_0>;      33                         linux,code = <BTN_0>;
 34                         gpios = <&pio 7 9 GPIO     34                         gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; /* PH9 */
 35                 };                                 35                 };
 36         };                                         36         };
 37                                                    37 
 38         leds {                                     38         leds {
 39                 compatible = "gpio-leds";          39                 compatible = "gpio-leds";
 40                                                    40 
 41                 led-0 {                            41                 led-0 {
 42                         function = LED_FUNCTIO     42                         function = LED_FUNCTION_POWER;
 43                         color = <LED_COLOR_ID_     43                         color = <LED_COLOR_ID_BLUE>;
 44                         gpios = <&pio 7 6 GPIO     44                         gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */
 45                         default-state = "on";      45                         default-state = "on";
 46                 };                                 46                 };
 47         };                                         47         };
 48                                                    48 
 49         wifi_pwrseq: pwrseq {                      49         wifi_pwrseq: pwrseq {
 50                 compatible = "mmc-pwrseq-simpl     50                 compatible = "mmc-pwrseq-simple";
 51                 clocks = <&rtc CLK_OSC32K_FANO     51                 clocks = <&rtc CLK_OSC32K_FANOUT>;
 52                 clock-names = "ext_clock";         52                 clock-names = "ext_clock";
 53                 pinctrl-0 = <&x32clk_fanout_pi     53                 pinctrl-0 = <&x32clk_fanout_pin>;
 54                 pinctrl-names = "default";         54                 pinctrl-names = "default";
 55                 reset-gpios = <&pio 6 18 GPIO_     55                 reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */
 56         };                                         56         };
 57                                                    57 
 58         reg_vcc5v: vcc5v {                         58         reg_vcc5v: vcc5v {
 59                 /* board wide 5V supply direct     59                 /* board wide 5V supply directly from the DC input */
 60                 compatible = "regulator-fixed"     60                 compatible = "regulator-fixed";
 61                 regulator-name = "vcc-5v";         61                 regulator-name = "vcc-5v";
 62                 regulator-min-microvolt = <500     62                 regulator-min-microvolt = <5000000>;
 63                 regulator-max-microvolt = <500     63                 regulator-max-microvolt = <5000000>;
 64                 regulator-always-on;               64                 regulator-always-on;
 65         };                                         65         };
 66 };                                                 66 };
 67                                                    67 
 68 &cpu0 {                                            68 &cpu0 {
 69         cpu-supply = <&reg_dcdc2>;                 69         cpu-supply = <&reg_dcdc2>;
 70 };                                                 70 };
 71                                                    71 
 72 &ehci0 {                                           72 &ehci0 {
 73         status = "okay";                           73         status = "okay";
 74 };                                                 74 };
 75                                                    75 
 76 &ir {                                              76 &ir {
 77         status = "okay";                           77         status = "okay";
 78 };                                                 78 };
 79                                                    79 
 80 &mmc1 {                                            80 &mmc1 {
 81         vmmc-supply = <&reg_dldo1>;                81         vmmc-supply = <&reg_dldo1>;
 82         vqmmc-supply = <&reg_aldo1>;               82         vqmmc-supply = <&reg_aldo1>;
 83         mmc-pwrseq = <&wifi_pwrseq>;               83         mmc-pwrseq = <&wifi_pwrseq>;
 84         bus-width = <4>;                           84         bus-width = <4>;
 85         non-removable;                             85         non-removable;
 86         status = "okay";                           86         status = "okay";
 87                                                    87 
 88         sdio_wifi: wifi@1 {                        88         sdio_wifi: wifi@1 {
 89                 reg = <1>;                         89                 reg = <1>;
 90         };                                         90         };
 91 };                                                 91 };
 92                                                    92 
 93 &mmc2 {                                            93 &mmc2 {
 94         vmmc-supply = <&reg_dldo1>;                94         vmmc-supply = <&reg_dldo1>;
 95         vqmmc-supply = <&reg_aldo1>;               95         vqmmc-supply = <&reg_aldo1>;
 96         bus-width = <8>;                           96         bus-width = <8>;
 97         non-removable;                             97         non-removable;
 98         max-frequency = <100000000>;               98         max-frequency = <100000000>;
 99         cap-mmc-hw-reset;                          99         cap-mmc-hw-reset;
100         mmc-ddr-1_8v;                             100         mmc-ddr-1_8v;
101         status = "okay";                          101         status = "okay";
102 };                                                102 };
103                                                   103 
104 &ohci0 {                                          104 &ohci0 {
105         status = "okay";                          105         status = "okay";
106 };                                                106 };
107                                                   107 
108 &pio {                                            108 &pio {
109         vcc-pc-supply = <&reg_aldo1>;             109         vcc-pc-supply = <&reg_aldo1>;
110         vcc-pf-supply = <&reg_dldo1>;             110         vcc-pf-supply = <&reg_dldo1>;
111         vcc-pg-supply = <&reg_aldo1>;             111         vcc-pg-supply = <&reg_aldo1>;
112         vcc-ph-supply = <&reg_dldo1>;             112         vcc-ph-supply = <&reg_dldo1>;
113         vcc-pi-supply = <&reg_dldo1>;             113         vcc-pi-supply = <&reg_dldo1>;
114 };                                                114 };
115                                                   115 
116 &r_i2c {                                          116 &r_i2c {
117         status = "okay";                          117         status = "okay";
118                                                   118 
119         axp313: pmic@36 {                         119         axp313: pmic@36 {
120                 compatible = "x-powers,axp313a    120                 compatible = "x-powers,axp313a";
121                 reg = <0x36>;                     121                 reg = <0x36>;
122                 #interrupt-cells = <1>;           122                 #interrupt-cells = <1>;
123                 interrupt-controller;             123                 interrupt-controller;
124                                                   124 
125                 vin1-supply = <&reg_vcc5v>;       125                 vin1-supply = <&reg_vcc5v>;
126                 vin2-supply = <&reg_vcc5v>;       126                 vin2-supply = <&reg_vcc5v>;
127                 vin3-supply = <&reg_vcc5v>;       127                 vin3-supply = <&reg_vcc5v>;
128                                                   128 
129                 regulators {                      129                 regulators {
130                         /* Supplies VCC-PLL, s    130                         /* Supplies VCC-PLL, so needs to be always on. */
131                         reg_aldo1: aldo1 {        131                         reg_aldo1: aldo1 {
132                                 regulator-alwa    132                                 regulator-always-on;
133                                 regulator-min-    133                                 regulator-min-microvolt = <1800000>;
134                                 regulator-max-    134                                 regulator-max-microvolt = <1800000>;
135                                 regulator-name    135                                 regulator-name = "vcc1v8";
136                         };                        136                         };
137                                                   137 
138                         /* Supplies VCC-IO, so    138                         /* Supplies VCC-IO, so needs to be always on. */
139                         reg_dldo1: dldo1 {        139                         reg_dldo1: dldo1 {
140                                 regulator-alwa    140                                 regulator-always-on;
141                                 regulator-min-    141                                 regulator-min-microvolt = <3300000>;
142                                 regulator-max-    142                                 regulator-max-microvolt = <3300000>;
143                                 regulator-name    143                                 regulator-name = "vcc3v3";
144                         };                        144                         };
145                                                   145 
146                         reg_dcdc1: dcdc1 {        146                         reg_dcdc1: dcdc1 {
147                                 regulator-alwa    147                                 regulator-always-on;
148                                 regulator-min-    148                                 regulator-min-microvolt = <810000>;
149                                 regulator-max-    149                                 regulator-max-microvolt = <990000>;
150                                 regulator-name    150                                 regulator-name = "vdd-gpu-sys";
151                         };                        151                         };
152                                                   152 
153                         reg_dcdc2: dcdc2 {        153                         reg_dcdc2: dcdc2 {
154                                 regulator-alwa    154                                 regulator-always-on;
155                                 regulator-min-    155                                 regulator-min-microvolt = <810000>;
156                                 regulator-max-    156                                 regulator-max-microvolt = <1120000>;
157                                 regulator-name    157                                 regulator-name = "vdd-cpu";
158                         };                        158                         };
159                                                   159 
160                         reg_dcdc3: dcdc3 {        160                         reg_dcdc3: dcdc3 {
161                                 regulator-alwa    161                                 regulator-always-on;
162                                 regulator-min-    162                                 regulator-min-microvolt = <1200000>;
163                                 regulator-max-    163                                 regulator-max-microvolt = <1200000>;
164                                 regulator-name    164                                 regulator-name = "vdd-dram";
165                         };                        165                         };
166                 };                                166                 };
167         };                                        167         };
168 };                                                168 };
169                                                   169 
170 &uart0 {                                          170 &uart0 {
171         pinctrl-names = "default";                171         pinctrl-names = "default";
172         pinctrl-0 = <&uart0_ph_pins>;             172         pinctrl-0 = <&uart0_ph_pins>;
173         status = "okay";                          173         status = "okay";
174 };                                                174 };
175                                                   175 
176 &usbotg {                                         176 &usbotg {
177         dr_mode = "host";       /* USB A type     177         dr_mode = "host";       /* USB A type receptable */
178         status = "okay";                          178         status = "okay";
179 };                                                179 };
180                                                   180 
181 &usbphy {                                         181 &usbphy {
182         status = "okay";                          182         status = "okay";
183 };                                                183 };
                                                      

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