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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/amlogic/meson-gxbb-kii-pro.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-gxbb-kii-pro.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm64/amlogic/meson-gxbb-kii-pro.dts (Architecture m68k)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2019 Mohammad Rasim <mohammad.      3  * Copyright (c) 2019 Mohammad Rasim <mohammad.rasim96@gmail.com>
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include "meson-gxbb-p20x.dtsi"                     8 #include "meson-gxbb-p20x.dtsi"
  9 #include <dt-bindings/gpio/gpio.h>                  9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/input.h>               10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/leds/common.h>               11 #include <dt-bindings/leds/common.h>
 12 #include <dt-bindings/sound/meson-aiu.h>           12 #include <dt-bindings/sound/meson-aiu.h>
 13                                                    13 
 14 / {                                                14 / {
 15         compatible = "videostrong,kii-pro", "a     15         compatible = "videostrong,kii-pro", "amlogic,meson-gxbb";
 16         model = "Videostrong KII Pro";             16         model = "Videostrong KII Pro";
 17                                                    17 
 18         spdif_dit: audio-codec-0 {                 18         spdif_dit: audio-codec-0 {
 19                 #sound-dai-cells = <0>;            19                 #sound-dai-cells = <0>;
 20                 compatible = "linux,spdif-dit"     20                 compatible = "linux,spdif-dit";
 21                 sound-name-prefix = "DIT";         21                 sound-name-prefix = "DIT";
 22         };                                         22         };
 23                                                    23 
 24         leds {                                     24         leds {
 25                 compatible = "gpio-leds";          25                 compatible = "gpio-leds";
 26                 led {                              26                 led {
 27                         gpios = <&gpio_ao GPIO     27                         gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
 28                         color = <LED_COLOR_ID_     28                         color = <LED_COLOR_ID_RED>;
 29                         function = LED_FUNCTIO     29                         function = LED_FUNCTION_STATUS;
 30                         default-state = "off";     30                         default-state = "off";
 31                 };                                 31                 };
 32         };                                         32         };
 33                                                    33 
 34         gpio-keys-polled {                         34         gpio-keys-polled {
 35                 compatible = "gpio-keys-polled     35                 compatible = "gpio-keys-polled";
 36                 poll-interval = <20>;              36                 poll-interval = <20>;
 37                                                    37 
 38                 button-reset {                     38                 button-reset {
 39                         label = "reset";           39                         label = "reset";
 40                         linux,code = <KEY_POWE     40                         linux,code = <KEY_POWER>;
 41                         gpios = <&gpio_ao GPIO     41                         gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
 42                 };                                 42                 };
 43         };                                         43         };
 44                                                    44 
 45         sound {                                    45         sound {
 46                 compatible = "amlogic,gx-sound     46                 compatible = "amlogic,gx-sound-card";
 47                 model = "KII-PRO";                 47                 model = "KII-PRO";
 48                 clocks = <&clkc CLKID_MPLL0>,      48                 clocks = <&clkc CLKID_MPLL0>,
 49                          <&clkc CLKID_MPLL1>,      49                          <&clkc CLKID_MPLL1>,
 50                          <&clkc CLKID_MPLL2>;      50                          <&clkc CLKID_MPLL2>;
 51                                                    51 
 52                 assigned-clocks = <&clkc CLKID     52                 assigned-clocks = <&clkc CLKID_MPLL0>,
 53                                   <&clkc CLKID     53                                   <&clkc CLKID_MPLL1>,
 54                                   <&clkc CLKID     54                                   <&clkc CLKID_MPLL2>;
 55                 assigned-clock-parents = <0>,      55                 assigned-clock-parents = <0>, <0>, <0>;
 56                 assigned-clock-rates = <294912     56                 assigned-clock-rates = <294912000>,
 57                                        <270950     57                                        <270950400>,
 58                                        <393216     58                                        <393216000>;
 59                                                    59 
 60                 dai-link-0 {                       60                 dai-link-0 {
 61                         sound-dai = <&aiu AIU_     61                         sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
 62                 };                                 62                 };
 63                                                    63 
 64                 dai-link-1 {                       64                 dai-link-1 {
 65                         sound-dai = <&aiu AIU_     65                         sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>;
 66                 };                                 66                 };
 67                                                    67 
 68                 dai-link-2 {                       68                 dai-link-2 {
 69                         sound-dai = <&aiu AIU_     69                         sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
 70                         dai-format = "i2s";        70                         dai-format = "i2s";
 71                         mclk-fs = <256>;           71                         mclk-fs = <256>;
 72                                                    72 
 73                         codec-0 {                  73                         codec-0 {
 74                                 sound-dai = <&     74                                 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
 75                         };                         75                         };
 76                 };                                 76                 };
 77                                                    77 
 78                 dai-link-3 {                       78                 dai-link-3 {
 79                         sound-dai = <&aiu AIU_     79                         sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>;
 80                                                    80 
 81                         codec-0 {                  81                         codec-0 {
 82                                 sound-dai = <&     82                                 sound-dai = <&spdif_dit>;
 83                         };                         83                         };
 84                 };                                 84                 };
 85                                                    85 
 86                 dai-link-4 {                       86                 dai-link-4 {
 87                         sound-dai = <&aiu AIU_     87                         sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
 88                                                    88 
 89                         codec-0 {                  89                         codec-0 {
 90                                 sound-dai = <&     90                                 sound-dai = <&hdmi_tx>;
 91                         };                         91                         };
 92                 };                                 92                 };
 93         };                                         93         };
 94 };                                                 94 };
 95                                                    95 
 96 &aiu {                                             96 &aiu {
 97         status = "okay";                           97         status = "okay";
 98         pinctrl-0 = <&spdif_out_y_pins>;           98         pinctrl-0 = <&spdif_out_y_pins>;
 99         pinctrl-names = "default";                 99         pinctrl-names = "default";
100 };                                                100 };
101                                                   101 
102 &ethmac {                                         102 &ethmac {
103         status = "okay";                          103         status = "okay";
104         pinctrl-0 = <&eth_rmii_pins>;             104         pinctrl-0 = <&eth_rmii_pins>;
105         pinctrl-names = "default";                105         pinctrl-names = "default";
106                                                   106 
107         phy-handle = <&eth_phy0>;                 107         phy-handle = <&eth_phy0>;
108         phy-mode = "rmii";                        108         phy-mode = "rmii";
109                                                   109 
110         mdio {                                    110         mdio {
111                 compatible = "snps,dwmac-mdio"    111                 compatible = "snps,dwmac-mdio";
112                 #address-cells = <1>;             112                 #address-cells = <1>;
113                 #size-cells = <0>;                113                 #size-cells = <0>;
114                                                   114 
115                 eth_phy0: ethernet-phy@0 {        115                 eth_phy0: ethernet-phy@0 {
116                         /* IC Plus IP101GR (0x    116                         /* IC Plus IP101GR (0x02430c54) */
117                         reg = <0>;                117                         reg = <0>;
118                         reset-assert-us = <100    118                         reset-assert-us = <10000>;
119                         reset-deassert-us = <1    119                         reset-deassert-us = <10000>;
120                         reset-gpios = <&gpio G    120                         reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
121                 };                                121                 };
122         };                                        122         };
123 };                                                123 };
124                                                   124 
125 &ir {                                             125 &ir {
126         linux,rc-map-name = "rc-videostrong-ki    126         linux,rc-map-name = "rc-videostrong-kii-pro";
127 };                                                127 };
128                                                   128 
129 &uart_A {                                         129 &uart_A {
130         status = "okay";                          130         status = "okay";
131         pinctrl-0 = <&uart_a_pins>, <&uart_a_c    131         pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
132         pinctrl-names = "default";                132         pinctrl-names = "default";
133         uart-has-rtscts;                          133         uart-has-rtscts;
134                                                   134 
135         bluetooth {                               135         bluetooth {
136                 compatible = "brcm,bcm4335a0";    136                 compatible = "brcm,bcm4335a0";
137                 shutdown-gpios = <&gpio GPIOX_    137                 shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>;
138                 host-wakeup-gpios = <&gpio GPI    138                 host-wakeup-gpios = <&gpio GPIOX_21 GPIO_ACTIVE_HIGH>;
139                 max-speed = <2000000>;            139                 max-speed = <2000000>;
140                 clocks = <&wifi32k>;              140                 clocks = <&wifi32k>;
141                 clock-names = "lpo";              141                 clock-names = "lpo";
142         };                                        142         };
143 };                                                143 };
                                                      

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