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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/amlogic/meson-a1-ad402.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/amlogic/meson-a1-ad402.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm64/amlogic/meson-a1-ad402.dts (Architecture sparc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2023 SberDevices                   3  * Copyright (c) 2023 SberDevices
  4  * Author: Dmitry Rokosov <ddrokosov@sberdevice      4  * Author: Dmitry Rokosov <ddrokosov@sberdevices.ru>
  5  */                                                 5  */
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8                                                     8 
  9 #include "meson-a1.dtsi"                            9 #include "meson-a1.dtsi"
 10 #include <dt-bindings/thermal/thermal.h>           10 #include <dt-bindings/thermal/thermal.h>
 11                                                    11 
 12 / {                                                12 / {
 13         compatible = "amlogic,ad402", "amlogic     13         compatible = "amlogic,ad402", "amlogic,a1";
 14         model = "Amlogic Meson A1 AD402 Develo     14         model = "Amlogic Meson A1 AD402 Development Board";
 15                                                    15 
 16         aliases {                                  16         aliases {
 17                 serial0 = &uart_AO_B;              17                 serial0 = &uart_AO_B;
 18         };                                         18         };
 19                                                    19 
 20         chosen {                                   20         chosen {
 21                 stdout-path = "serial0:115200n     21                 stdout-path = "serial0:115200n8";
 22         };                                         22         };
 23                                                    23 
 24         memory@0 {                                 24         memory@0 {
 25                 device_type = "memory";            25                 device_type = "memory";
 26                 reg = <0x0 0x0 0x0 0x8000000>;     26                 reg = <0x0 0x0 0x0 0x8000000>;
 27         };                                         27         };
 28                                                    28 
 29         reserved-memory {                          29         reserved-memory {
 30                 /* 3 MiB reserved for Amlogic      30                 /* 3 MiB reserved for Amlogic Trust OS (BL32) */
 31                 secos_reserved: secos@3d00000      31                 secos_reserved: secos@3d00000 {
 32                         reg = <0x0 0x03d00000      32                         reg = <0x0 0x03d00000 0x0 0x300000>;
 33                         no-map;                    33                         no-map;
 34                 };                                 34                 };
 35         };                                         35         };
 36                                                    36 
 37         firmware {                                 37         firmware {
 38                 optee {                            38                 optee {
 39                         compatible = "linaro,o     39                         compatible = "linaro,optee-tz";
 40                         method = "smc";            40                         method = "smc";
 41                 };                                 41                 };
 42         };                                         42         };
 43                                                    43 
 44         battery_4v2: regulator-battery-4v2 {       44         battery_4v2: regulator-battery-4v2 {
 45                 compatible = "regulator-fixed"     45                 compatible = "regulator-fixed";
 46                 regulator-name = "4V2";            46                 regulator-name = "4V2";
 47                 regulator-min-microvolt = <420     47                 regulator-min-microvolt = <4200000>;
 48                 regulator-max-microvolt = <420     48                 regulator-max-microvolt = <4200000>;
 49                 regulator-always-on;               49                 regulator-always-on;
 50         };                                         50         };
 51                                                    51 
 52         vddq_1v35: regulator-vddq-1v35 {           52         vddq_1v35: regulator-vddq-1v35 {
 53                 compatible = "regulator-fixed"     53                 compatible = "regulator-fixed";
 54                 regulator-name = "VDDQ_1V35";      54                 regulator-name = "VDDQ_1V35";
 55                 regulator-min-microvolt = <135     55                 regulator-min-microvolt = <1350000>;
 56                 regulator-max-microvolt = <135     56                 regulator-max-microvolt = <1350000>;
 57                 vin-supply = <&battery_4v2>;       57                 vin-supply = <&battery_4v2>;
 58                 regulator-always-on;               58                 regulator-always-on;
 59         };                                         59         };
 60                                                    60 
 61         vddao_3v3: regulator-vddao-3v3 {           61         vddao_3v3: regulator-vddao-3v3 {
 62                 compatible = "regulator-fixed"     62                 compatible = "regulator-fixed";
 63                 regulator-name = "VDDAO_3V3";      63                 regulator-name = "VDDAO_3V3";
 64                 regulator-min-microvolt = <330     64                 regulator-min-microvolt = <3300000>;
 65                 regulator-max-microvolt = <330     65                 regulator-max-microvolt = <3300000>;
 66                 vin-supply = <&battery_4v2>;       66                 vin-supply = <&battery_4v2>;
 67                 regulator-always-on;               67                 regulator-always-on;
 68         };                                         68         };
 69                                                    69 
 70         vcc_3v3: regulator-vcc-3v3 {               70         vcc_3v3: regulator-vcc-3v3 {
 71                 compatible = "regulator-fixed"     71                 compatible = "regulator-fixed";
 72                 regulator-name = "VCC_3V3";        72                 regulator-name = "VCC_3V3";
 73                 regulator-min-microvolt = <330     73                 regulator-min-microvolt = <3300000>;
 74                 regulator-max-microvolt = <330     74                 regulator-max-microvolt = <3300000>;
 75                 vin-supply = <&vddao_3v3>;         75                 vin-supply = <&vddao_3v3>;
 76                 regulator-always-on;               76                 regulator-always-on;
 77         };                                         77         };
 78                                                    78 
 79         vddio_1v8: regulator-vddio-1v8 {           79         vddio_1v8: regulator-vddio-1v8 {
 80                 compatible = "regulator-fixed"     80                 compatible = "regulator-fixed";
 81                 regulator-name = "VDDIO_1V8";      81                 regulator-name = "VDDIO_1V8";
 82                 regulator-min-microvolt = <180     82                 regulator-min-microvolt = <1800000>;
 83                 regulator-max-microvolt = <180     83                 regulator-max-microvolt = <1800000>;
 84                 vin-supply = <&vddao_3v3>;         84                 vin-supply = <&vddao_3v3>;
 85                 regulator-always-on;               85                 regulator-always-on;
 86         };                                         86         };
 87                                                    87 
 88         thermal-zones {                            88         thermal-zones {
 89                 soc_thermal: soc-thermal {         89                 soc_thermal: soc-thermal {
 90                         polling-delay = <1000>     90                         polling-delay = <1000>;
 91                         polling-delay-passive      91                         polling-delay-passive = <100>;
 92                         sustainable-power = <1     92                         sustainable-power = <130>;
 93                                                    93 
 94                         thermal-sensors = <&cp     94                         thermal-sensors = <&cpu_temp>;
 95                                                    95 
 96                         trips {                    96                         trips {
 97                                 soc_passive: s     97                                 soc_passive: soc-passive {
 98                                         temper     98                                         temperature = <70000>;
 99                                         hyster     99                                         hysteresis = <2000>;
100                                         type =    100                                         type = "passive";
101                                 };                101                                 };
102                                                   102 
103                                 soc_hot: soc-h    103                                 soc_hot: soc-hot {
104                                         temper    104                                         temperature = <85000>;
105                                         hyster    105                                         hysteresis = <5000>;
106                                         type =    106                                         type = "hot";
107                                 };                107                                 };
108                                                   108 
109                                 soc_critical:     109                                 soc_critical: soc-critical {
110                                         temper    110                                         temperature = <110000>;
111                                         hyster    111                                         hysteresis = <1000>;
112                                         type =    112                                         type = "critical";
113                                 };                113                                 };
114                         };                        114                         };
115                                                   115 
116                         soc_cooling_maps: cool    116                         soc_cooling_maps: cooling-maps {
117                                 map0 {            117                                 map0 {
118                                         trip =    118                                         trip = <&soc_passive>;
119                                         coolin    119                                         cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
120                                                   120                                                          <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
121                                 };                121                                 };
122                                                   122 
123                                 map1 {            123                                 map1 {
124                                         trip =    124                                         trip = <&soc_hot>;
125                                         coolin    125                                         cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
126                                                   126                                                          <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
127                                 };                127                                 };
128                         };                        128                         };
129                 };                                129                 };
130         };                                        130         };
131 };                                                131 };
132                                                   132 
133 /* Bluetooth HCI H4 */                            133 /* Bluetooth HCI H4 */
134 &uart_AO {                                        134 &uart_AO {
135         status = "okay";                          135         status = "okay";
136         pinctrl-0 = <&uart_a_pins>, <&uart_a_c    136         pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
137         pinctrl-names = "default";                137         pinctrl-names = "default";
138 };                                                138 };
139                                                   139 
140 &uart_AO_B {                                      140 &uart_AO_B {
141         status = "okay";                          141         status = "okay";
142 };                                                142 };
143                                                   143 
144 &saradc {                                         144 &saradc {
145         status = "okay";                          145         status = "okay";
146         vref-supply = <&vddio_1v8>;               146         vref-supply = <&vddio_1v8>;
147 };                                                147 };
148                                                   148 
149 &spifc {                                          149 &spifc {
150         status = "okay";                          150         status = "okay";
151         pinctrl-0 = <&spifc_pins>;                151         pinctrl-0 = <&spifc_pins>;
152         pinctrl-names = "default";                152         pinctrl-names = "default";
153                                                   153 
154         flash@0 {                                 154         flash@0 {
155                 compatible = "spi-nand";          155                 compatible = "spi-nand";
156                 status = "okay";                  156                 status = "okay";
157                 reg = <0>;                        157                 reg = <0>;
158                 spi-max-frequency = <96000000>    158                 spi-max-frequency = <96000000>;
159                 spi-tx-bus-width = <4>;           159                 spi-tx-bus-width = <4>;
160                 spi-rx-bus-width = <4>;           160                 spi-rx-bus-width = <4>;
161         };                                        161         };
162 };                                                162 };
163                                                   163 
164 &usb2_phy1 {                                      164 &usb2_phy1 {
165         phy-supply = <&vcc_3v3>;                  165         phy-supply = <&vcc_3v3>;
166 };                                                166 };
167                                                   167 
168 &usb {                                            168 &usb {
169         status = "okay";                          169         status = "okay";
170         dr_mode = "peripheral";                   170         dr_mode = "peripheral";
171 };                                                171 };
172                                                   172 
173 &sd_emmc {                                        173 &sd_emmc {
174         status = "okay";                          174         status = "okay";
175                                                   175 
176         #address-cells = <1>;                     176         #address-cells = <1>;
177         #size-cells = <0>;                        177         #size-cells = <0>;
178                                                   178 
179         pinctrl-0 = <&sdio_pins>;                 179         pinctrl-0 = <&sdio_pins>;
180         pinctrl-1 = <&sdio_clk_gate_pins>;        180         pinctrl-1 = <&sdio_clk_gate_pins>;
181         pinctrl-names = "default", "clk-gate";    181         pinctrl-names = "default", "clk-gate";
182                                                   182 
183         bus-width = <4>;                          183         bus-width = <4>;
184         cap-sd-highspeed;                         184         cap-sd-highspeed;
185         sd-uhs-sdr104;                            185         sd-uhs-sdr104;
186         max-frequency = <200000000>;              186         max-frequency = <200000000>;
187         non-removable;                            187         non-removable;
188         disable-wp;                               188         disable-wp;
189                                                   189 
190         vmmc-supply = <&vddao_3v3>;               190         vmmc-supply = <&vddao_3v3>;
191         vqmmc-supply = <&vddio_1v8>;              191         vqmmc-supply = <&vddio_1v8>;
192 };                                                192 };
                                                      

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