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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/amlogic/meson-gxl-s905x-vero4k.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-gxl-s905x-vero4k.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm64/amlogic/meson-gxl-s905x-vero4k.dts (Architecture sparc64)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2024 Christian Hewitt <christi      3  * Copyright (c) 2024 Christian Hewitt <christianshewitt@gmail.com>
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include "meson-gxl-s905x-p212.dtsi"                8 #include "meson-gxl-s905x-p212.dtsi"
  9 #include <dt-bindings/input/input.h>                9 #include <dt-bindings/input/input.h>
 10 #include <dt-bindings/leds/common.h>               10 #include <dt-bindings/leds/common.h>
 11 #include <dt-bindings/sound/meson-aiu.h>           11 #include <dt-bindings/sound/meson-aiu.h>
 12                                                    12 
 13 / {                                                13 / {
 14         compatible = "osmc,vero4k", "amlogic,s     14         compatible = "osmc,vero4k", "amlogic,s905x", "amlogic,meson-gxl";
 15         model = "OSMC Vero 4K";                    15         model = "OSMC Vero 4K";
 16                                                    16 
 17         reserved-memory {                          17         reserved-memory {
 18                 /* 32 MiB reserved for ARM Tru     18                 /* 32 MiB reserved for ARM Trusted Firmware (BL32) */
 19                 secmon_reserved_bl32: secmon@5     19                 secmon_reserved_bl32: secmon@5300000 {
 20                         reg = <0x0 0x05300000      20                         reg = <0x0 0x05300000 0x0 0x2000000>;
 21                         no-map;                    21                         no-map;
 22                 };                                 22                 };
 23         };                                         23         };
 24                                                    24 
 25         gpio-keys-polled {                         25         gpio-keys-polled {
 26                 compatible = "gpio-keys-polled     26                 compatible = "gpio-keys-polled";
 27                 poll-interval = <20>;              27                 poll-interval = <20>;
 28                                                    28 
 29                 button {                           29                 button {
 30                         label = "power";           30                         label = "power";
 31                         linux,code = <KEY_POWE     31                         linux,code = <KEY_POWER>;
 32                         gpios = <&gpio_ao GPIO     32                         gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
 33                 };                                 33                 };
 34         };                                         34         };
 35                                                    35 
 36         leds {                                     36         leds {
 37                 compatible = "gpio-leds";          37                 compatible = "gpio-leds";
 38                                                    38 
 39                 led-standby {                      39                 led-standby {
 40                         color = <LED_COLOR_ID_     40                         color = <LED_COLOR_ID_RED>;
 41                         function = LED_FUNCTIO     41                         function = LED_FUNCTION_POWER;
 42                         gpios = <&gpio GPIODV_     42                         gpios = <&gpio GPIODV_24 GPIO_ACTIVE_LOW>;
 43                         default-state = "off";     43                         default-state = "off";
 44                         panic-indicator;           44                         panic-indicator;
 45                 };                                 45                 };
 46         };                                         46         };
 47                                                    47 
 48         dio2133: analog-amplifier {                48         dio2133: analog-amplifier {
 49                 compatible = "simple-audio-amp     49                 compatible = "simple-audio-amplifier";
 50                 sound-name-prefix = "AU2";         50                 sound-name-prefix = "AU2";
 51                 VCC-supply = <&hdmi_5v>;           51                 VCC-supply = <&hdmi_5v>;
 52                 enable-gpios = <&gpio GPIOH_5      52                 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
 53         };                                         53         };
 54                                                    54 
 55         spdif_dit: audio-codec-0 {                 55         spdif_dit: audio-codec-0 {
 56                 #sound-dai-cells = <0>;            56                 #sound-dai-cells = <0>;
 57                 compatible = "linux,spdif-dit"     57                 compatible = "linux,spdif-dit";
 58                 sound-name-prefix = "DIT";         58                 sound-name-prefix = "DIT";
 59         };                                         59         };
 60                                                    60 
 61         cvbs-connector {                           61         cvbs-connector {
 62                 compatible = "composite-video-     62                 compatible = "composite-video-connector";
 63                                                    63 
 64                 port {                             64                 port {
 65                         cvbs_connector_in: end     65                         cvbs_connector_in: endpoint {
 66                                 remote-endpoin     66                                 remote-endpoint = <&cvbs_vdac_out>;
 67                         };                         67                         };
 68                 };                                 68                 };
 69         };                                         69         };
 70                                                    70 
 71         hdmi-connector {                           71         hdmi-connector {
 72                 compatible = "hdmi-connector";     72                 compatible = "hdmi-connector";
 73                 type = "a";                        73                 type = "a";
 74                                                    74 
 75                 port {                             75                 port {
 76                         hdmi_connector_in: end     76                         hdmi_connector_in: endpoint {
 77                                 remote-endpoin     77                                 remote-endpoint = <&hdmi_tx_tmds_out>;
 78                         };                         78                         };
 79                 };                                 79                 };
 80         };                                         80         };
 81                                                    81 
 82         sound {                                    82         sound {
 83                 compatible = "amlogic,gx-sound     83                 compatible = "amlogic,gx-sound-card";
 84                 model = "VERO4K";                  84                 model = "VERO4K";
 85                 audio-aux-devs = <&dio2133>;       85                 audio-aux-devs = <&dio2133>;
 86                 audio-widgets = "Line", "Lineo     86                 audio-widgets = "Line", "Lineout";
 87                 audio-routing = "AU2 INL", "AC     87                 audio-routing = "AU2 INL", "ACODEC LOLP",
 88                                 "AU2 INR", "AC     88                                 "AU2 INR", "ACODEC LORP",
 89                                 "AU2 INL", "AC     89                                 "AU2 INL", "ACODEC LOLN",
 90                                 "AU2 INR", "AC     90                                 "AU2 INR", "ACODEC LORN",
 91                                 "Lineout", "AU     91                                 "Lineout", "AU2 OUTL",
 92                                 "Lineout", "AU     92                                 "Lineout", "AU2 OUTR";
 93                                                    93 
 94                 clocks = <&clkc CLKID_MPLL0>,      94                 clocks = <&clkc CLKID_MPLL0>,
 95                          <&clkc CLKID_MPLL1>,      95                          <&clkc CLKID_MPLL1>,
 96                          <&clkc CLKID_MPLL2>;      96                          <&clkc CLKID_MPLL2>;
 97                                                    97 
 98                 assigned-clocks = <&clkc CLKID     98                 assigned-clocks = <&clkc CLKID_MPLL0>,
 99                                   <&clkc CLKID     99                                   <&clkc CLKID_MPLL1>,
100                                   <&clkc CLKID    100                                   <&clkc CLKID_MPLL2>;
101                 assigned-clock-parents = <0>,     101                 assigned-clock-parents = <0>, <0>, <0>;
102                 assigned-clock-rates = <294912    102                 assigned-clock-rates = <294912000>,
103                                        <270950    103                                        <270950400>,
104                                        <393216    104                                        <393216000>;
105                                                   105 
106                 dai-link-0 {                      106                 dai-link-0 {
107                         sound-dai = <&aiu AIU_    107                         sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
108                 };                                108                 };
109                                                   109 
110                 dai-link-1 {                      110                 dai-link-1 {
111                         sound-dai = <&aiu AIU_    111                         sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>;
112                 };                                112                 };
113                                                   113 
114                 dai-link-2 {                      114                 dai-link-2 {
115                         sound-dai = <&aiu AIU_    115                         sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
116                         dai-format = "i2s";       116                         dai-format = "i2s";
117                         mclk-fs = <256>;          117                         mclk-fs = <256>;
118                                                   118 
119                         codec-0 {                 119                         codec-0 {
120                                 sound-dai = <&    120                                 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
121                         };                        121                         };
122                                                   122 
123                         codec-1 {                 123                         codec-1 {
124                                 sound-dai = <&    124                                 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>;
125                         };                        125                         };
126                 };                                126                 };
127                                                   127 
128                 dai-link-3 {                      128                 dai-link-3 {
129                         sound-dai = <&aiu AIU_    129                         sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>;
130                                                   130 
131                         codec-0 {                 131                         codec-0 {
132                                 sound-dai = <&    132                                 sound-dai = <&spdif_dit>;
133                         };                        133                         };
134                 };                                134                 };
135                                                   135 
136                 dai-link-4 {                      136                 dai-link-4 {
137                         sound-dai = <&aiu AIU_    137                         sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
138                                                   138 
139                         codec-0 {                 139                         codec-0 {
140                                 sound-dai = <&    140                                 sound-dai = <&hdmi_tx>;
141                         };                        141                         };
142                 };                                142                 };
143                                                   143 
144                 dai-link-5 {                      144                 dai-link-5 {
145                         sound-dai = <&aiu AIU_    145                         sound-dai = <&aiu AIU_ACODEC CTRL_OUT>;
146                                                   146 
147                         codec-0 {                 147                         codec-0 {
148                                 sound-dai = <&    148                                 sound-dai = <&acodec>;
149                         };                        149                         };
150                 };                                150                 };
151         };                                        151         };
152 };                                                152 };
153                                                   153 
154 &acodec {                                         154 &acodec {
155         AVDD-supply = <&vddio_ao18>;              155         AVDD-supply = <&vddio_ao18>;
156         status = "okay";                          156         status = "okay";
157 };                                                157 };
158                                                   158 
159 &aiu {                                            159 &aiu {
160         status = "okay";                          160         status = "okay";
161         pinctrl-0 = <&spdif_out_h_pins>;          161         pinctrl-0 = <&spdif_out_h_pins>;
162         pinctrl-names = "default";                162         pinctrl-names = "default";
163 };                                                163 };
164                                                   164 
165 &cec_AO {                                         165 &cec_AO {
166         status = "okay";                          166         status = "okay";
167         pinctrl-0 = <&ao_cec_pins>;               167         pinctrl-0 = <&ao_cec_pins>;
168         pinctrl-names = "default";                168         pinctrl-names = "default";
169         hdmi-phandle = <&hdmi_tx>;                169         hdmi-phandle = <&hdmi_tx>;
170 };                                                170 };
171                                                   171 
172 &cvbs_vdac_port {                                 172 &cvbs_vdac_port {
173         cvbs_vdac_out: endpoint {                 173         cvbs_vdac_out: endpoint {
174                 remote-endpoint = <&cvbs_conne    174                 remote-endpoint = <&cvbs_connector_in>;
175         };                                        175         };
176 };                                                176 };
177                                                   177 
178 &ethmac {                                         178 &ethmac {
179         phy-mode = "rmii";                        179         phy-mode = "rmii";
180         phy-handle = <&internal_phy>;             180         phy-handle = <&internal_phy>;
181 };                                                181 };
182                                                   182 
183 &hdmi_tx {                                        183 &hdmi_tx {
184         status = "okay";                          184         status = "okay";
185         pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i    185         pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
186         pinctrl-names = "default";                186         pinctrl-names = "default";
187         hdmi-supply = <&hdmi_5v>;                 187         hdmi-supply = <&hdmi_5v>;
188 };                                                188 };
189                                                   189 
190 &hdmi_tx_tmds_port {                              190 &hdmi_tx_tmds_port {
191         hdmi_tx_tmds_out: endpoint {              191         hdmi_tx_tmds_out: endpoint {
192                 remote-endpoint = <&hdmi_conne    192                 remote-endpoint = <&hdmi_connector_in>;
193         };                                        193         };
194 };                                                194 };
195                                                   195 
196 &internal_phy {                                   196 &internal_phy {
197         pinctrl-0 = <&eth_link_led_pins>, <&et    197         pinctrl-0 = <&eth_link_led_pins>, <&eth_act_led_pins>;
198         pinctrl-names = "default";                198         pinctrl-names = "default";
199 };                                                199 };
200                                                   200 
201 /* This UART is brought out to the DB9 connect    201 /* This UART is brought out to the DB9 connector */
202 &uart_AO {                                        202 &uart_AO {
203         status = "okay";                          203         status = "okay";
204 };                                                204 };
                                                      

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