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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

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