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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/allwinner/sunxi-libretech-all-h3-it.dtsi

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/arm/allwinner/sunxi-libretech-all-h3-it.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/allwinner/sunxi-libretech-all-h3-it.dtsi (Architecture ppc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 // Copyright (C) 2019 Chen-Yu Tsai <wens@csie.o      2 // Copyright (C) 2019 Chen-Yu Tsai <wens@csie.org>
  3                                                     3 
  4 #include <dt-bindings/gpio/gpio.h>                  4 #include <dt-bindings/gpio/gpio.h>
  5 #include <dt-bindings/input/input.h>                5 #include <dt-bindings/input/input.h>
  6                                                     6 
  7 / {                                                 7 / {
  8         aliases {                                   8         aliases {
  9                 serial0 = &uart0;                   9                 serial0 = &uart0;
 10                 spi0 = &spi0;                      10                 spi0 = &spi0;
 11         };                                         11         };
 12                                                    12 
 13         chosen {                                   13         chosen {
 14                 stdout-path = "serial0:115200n     14                 stdout-path = "serial0:115200n8";
 15         };                                         15         };
 16                                                    16 
 17         connector {                                17         connector {
 18                 compatible = "hdmi-connector";     18                 compatible = "hdmi-connector";
 19                 type = "d";                        19                 type = "d";
 20                                                    20 
 21                 port {                             21                 port {
 22                         hdmi_con_in: endpoint      22                         hdmi_con_in: endpoint {
 23                                 remote-endpoin     23                                 remote-endpoint = <&hdmi_out_con>;
 24                         };                         24                         };
 25                 };                                 25                 };
 26         };                                         26         };
 27                                                    27 
 28         leds {                                     28         leds {
 29                 compatible = "gpio-leds";          29                 compatible = "gpio-leds";
 30                                                    30 
 31                 status_led {                       31                 status_led {
 32                         label = "librecomputer     32                         label = "librecomputer:blue:status";
 33                         gpios = <&pio 0 7 GPIO     33                         gpios = <&pio 0 7 GPIO_ACTIVE_HIGH>; /* PA7 */
 34                 };                                 34                 };
 35         };                                         35         };
 36                                                    36 
 37         reg_vcc3v3: vcc3v3 {                       37         reg_vcc3v3: vcc3v3 {
 38                 compatible = "regulator-fixed"     38                 compatible = "regulator-fixed";
 39                 regulator-name = "vcc3v3";         39                 regulator-name = "vcc3v3";
 40                 regulator-min-microvolt = <330     40                 regulator-min-microvolt = <3300000>;
 41                 regulator-max-microvolt = <330     41                 regulator-max-microvolt = <3300000>;
 42                 regulator-always-on;               42                 regulator-always-on;
 43                 regulator-boot-on;                 43                 regulator-boot-on;
 44                 vin-supply = <&reg_vcc5v0>;        44                 vin-supply = <&reg_vcc5v0>;
 45         };                                         45         };
 46                                                    46 
 47         /* This represents the board's 5V inpu     47         /* This represents the board's 5V input */
 48         reg_vcc5v0: vcc5v0 {                       48         reg_vcc5v0: vcc5v0 {
 49                 compatible = "regulator-fixed"     49                 compatible = "regulator-fixed";
 50                 regulator-name = "vcc5v0";         50                 regulator-name = "vcc5v0";
 51                 regulator-min-microvolt = <500     51                 regulator-min-microvolt = <5000000>;
 52                 regulator-max-microvolt = <500     52                 regulator-max-microvolt = <5000000>;
 53                 regulator-always-on;               53                 regulator-always-on;
 54                 regulator-boot-on;                 54                 regulator-boot-on;
 55         };                                         55         };
 56                                                    56 
 57         reg_vcc_dram: vcc-dram {                   57         reg_vcc_dram: vcc-dram {
 58                 compatible = "regulator-fixed"     58                 compatible = "regulator-fixed";
 59                 regulator-name = "vcc-dram";       59                 regulator-name = "vcc-dram";
 60                 regulator-min-microvolt = <150     60                 regulator-min-microvolt = <1500000>;
 61                 regulator-max-microvolt = <150     61                 regulator-max-microvolt = <1500000>;
 62                 regulator-always-on;               62                 regulator-always-on;
 63                 regulator-boot-on;                 63                 regulator-boot-on;
 64                 vin-supply = <&reg_vcc5v0>;        64                 vin-supply = <&reg_vcc5v0>;
 65                 gpio = <&r_pio 0 9 GPIO_ACTIVE     65                 gpio = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */
 66                 enable-active-high;                66                 enable-active-high;
 67         };                                         67         };
 68                                                    68 
 69         reg_vcc_io: vcc-io {                       69         reg_vcc_io: vcc-io {
 70                 compatible = "regulator-fixed"     70                 compatible = "regulator-fixed";
 71                 regulator-name = "vcc-io";         71                 regulator-name = "vcc-io";
 72                 /* This is simply a MOSFET swi     72                 /* This is simply a MOSFET switch */
 73                 regulator-always-on;               73                 regulator-always-on;
 74                 regulator-boot-on;                 74                 regulator-boot-on;
 75                 vin-supply = <&reg_vcc3v3>;        75                 vin-supply = <&reg_vcc3v3>;
 76                 gpio = <&r_pio 0 5 GPIO_ACTIVE     76                 gpio = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
 77         };                                         77         };
 78                                                    78 
 79         reg_vcc_usbwifi: vcc-usbwifi {             79         reg_vcc_usbwifi: vcc-usbwifi {
 80                 compatible = "regulator-fixed"     80                 compatible = "regulator-fixed";
 81                 regulator-name = "vcc-usbwifi"     81                 regulator-name = "vcc-usbwifi";
 82                 regulator-min-microvolt = <330     82                 regulator-min-microvolt = <3300000>;
 83                 regulator-max-microvolt = <330     83                 regulator-max-microvolt = <3300000>;
 84                 vin-supply = <&reg_vcc5v0>;        84                 vin-supply = <&reg_vcc5v0>;
 85                 gpio = <&pio 6 4 GPIO_ACTIVE_H     85                 gpio = <&pio 6 4 GPIO_ACTIVE_HIGH>; /* PG4 */
 86                 enable-active-high;                86                 enable-active-high;
 87         };                                         87         };
 88                                                    88 
 89         reg_vdd_cpux: vdd-cpux {                   89         reg_vdd_cpux: vdd-cpux {
 90                 compatible = "regulator-fixed"     90                 compatible = "regulator-fixed";
 91                 regulator-name = "vdd-cpux";       91                 regulator-name = "vdd-cpux";
 92                 regulator-min-microvolt = <110     92                 regulator-min-microvolt = <1100000>;
 93                 regulator-max-microvolt = <110     93                 regulator-max-microvolt = <1100000>;
 94                 regulator-always-on;               94                 regulator-always-on;
 95                 regulator-boot-on;                 95                 regulator-boot-on;
 96                 vin-supply = <&reg_vcc5v0>;        96                 vin-supply = <&reg_vcc5v0>;
 97                 gpio = <&r_pio 0 8 GPIO_ACTIVE     97                 gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
 98                 enable-active-high;                98                 enable-active-high;
 99         };                                         99         };
100 };                                                100 };
101                                                   101 
102 &cpu0 {                                           102 &cpu0 {
103         cpu-supply = <&reg_vdd_cpux>;             103         cpu-supply = <&reg_vdd_cpux>;
104 };                                                104 };
105                                                   105 
106 &cpu1 {                                           106 &cpu1 {
107         cpu-supply = <&reg_vdd_cpux>;             107         cpu-supply = <&reg_vdd_cpux>;
108 };                                                108 };
109                                                   109 
110 &cpu2 {                                           110 &cpu2 {
111         cpu-supply = <&reg_vdd_cpux>;             111         cpu-supply = <&reg_vdd_cpux>;
112 };                                                112 };
113                                                   113 
114 &cpu3 {                                           114 &cpu3 {
115         cpu-supply = <&reg_vdd_cpux>;             115         cpu-supply = <&reg_vdd_cpux>;
116 };                                                116 };
117                                                   117 
118 &de {                                             118 &de {
119         status = "okay";                          119         status = "okay";
120 };                                                120 };
121                                                   121 
122 &ehci1 {                                          122 &ehci1 {
123         status = "okay";                          123         status = "okay";
124 };                                                124 };
125                                                   125 
126 &hdmi {                                           126 &hdmi {
127         status = "okay";                          127         status = "okay";
128 };                                                128 };
129                                                   129 
130 &hdmi_out {                                       130 &hdmi_out {
131         hdmi_out_con: endpoint {                  131         hdmi_out_con: endpoint {
132                 remote-endpoint = <&hdmi_con_i    132                 remote-endpoint = <&hdmi_con_in>;
133         };                                        133         };
134 };                                                134 };
135                                                   135 
136 &mmc0 {                                           136 &mmc0 {
137         vmmc-supply = <&reg_vcc_io>;              137         vmmc-supply = <&reg_vcc_io>;
138         bus-width = <4>;                          138         bus-width = <4>;
139         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;    139         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
140         status = "okay";                          140         status = "okay";
141 };                                                141 };
142                                                   142 
143 &pio {                                            143 &pio {
144         vcc-pa-supply = <&reg_vcc_io>;            144         vcc-pa-supply = <&reg_vcc_io>;
145         vcc-pc-supply = <&reg_vcc_io>;            145         vcc-pc-supply = <&reg_vcc_io>;
146         vcc-pd-supply = <&reg_vcc_io>;            146         vcc-pd-supply = <&reg_vcc_io>;
147         vcc-pe-supply = <&reg_vcc_io>;            147         vcc-pe-supply = <&reg_vcc_io>;
148         vcc-pf-supply = <&reg_vcc_io>;            148         vcc-pf-supply = <&reg_vcc_io>;
149         vcc-pg-supply = <&reg_vcc_io>;            149         vcc-pg-supply = <&reg_vcc_io>;
150 };                                                150 };
151                                                   151 
152 &r_pio {                                          152 &r_pio {
153         vcc-pl-supply = <&reg_vcc3v3>;            153         vcc-pl-supply = <&reg_vcc3v3>;
154 };                                                154 };
155                                                   155 
156 &spi0 {                                           156 &spi0 {
157         status = "okay";                          157         status = "okay";
158                                                   158 
159         flash@0 {                                 159         flash@0 {
160                 compatible = "jedec,spi-nor";     160                 compatible = "jedec,spi-nor";
161                 reg = <0>;                        161                 reg = <0>;
162                 spi-max-frequency = <50000000>    162                 spi-max-frequency = <50000000>;
163         };                                        163         };
164 };                                                164 };
165                                                   165 
166 &uart0 {                                          166 &uart0 {
167         pinctrl-names = "default";                167         pinctrl-names = "default";
168         pinctrl-0 = <&uart0_pa_pins>;             168         pinctrl-0 = <&uart0_pa_pins>;
169         status = "okay";                          169         status = "okay";
170 };                                                170 };
171                                                   171 
172 &usb_otg {                                        172 &usb_otg {
173         dr_mode = "peripheral";                   173         dr_mode = "peripheral";
174         status = "okay";                          174         status = "okay";
175 };                                                175 };
176                                                   176 
177 &usbphy {                                         177 &usbphy {
178         usb1_vbus-supply = <&reg_vcc_usbwifi>;    178         usb1_vbus-supply = <&reg_vcc_usbwifi>;
179         status = "okay";                          179         status = "okay";
180 };                                                180 };
                                                      

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