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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.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) 2016 BayLibre, Inc.
  4  * Author: Neil Armstrong <narmstrong@baylibre.com>
  5  */
  6 
  7 /dts-v1/;
  8 
  9 #include "meson-gxbb-wetek.dtsi"
 10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/sound/meson-aiu.h>
 12 
 13 / {
 14         compatible = "wetek,play2", "amlogic,meson-gxbb";
 15         model = "WeTek Play 2";
 16 
 17         spdif_dit: audio-codec-0 {
 18                 #sound-dai-cells = <0>;
 19                 compatible = "linux,spdif-dit";
 20                 sound-name-prefix = "DIT";
 21         };
 22 
 23         leds {
 24                 led-wifi {
 25                         label = "wetek-play:wifi-status";
 26                         gpios = <&gpio GPIODV_26 GPIO_ACTIVE_HIGH>;
 27                         default-state = "off";
 28                 };
 29 
 30                 led-ethernet {
 31                         label = "wetek-play:ethernet-status";
 32                         gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>;
 33                         default-state = "off";
 34                 };
 35         };
 36 
 37         gpio-keys-polled {
 38                 compatible = "gpio-keys-polled";
 39                 poll-interval = <100>;
 40 
 41                 button {
 42                         label = "reset";
 43                         linux,code = <KEY_RESTART>;
 44                         gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;
 45                 };
 46         };
 47 
 48         sound {
 49                 compatible = "amlogic,gx-sound-card";
 50                 model = "WETEK-PLAY2";
 51                 assigned-clocks = <&clkc CLKID_MPLL0>,
 52                                   <&clkc CLKID_MPLL1>,
 53                                   <&clkc CLKID_MPLL2>;
 54                 assigned-clock-parents = <0>, <0>, <0>;
 55                 assigned-clock-rates = <294912000>,
 56                                        <270950400>,
 57                                        <393216000>;
 58 
 59                 dai-link-0 {
 60                         sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
 61                 };
 62 
 63                 dai-link-1 {
 64                         sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>;
 65                 };
 66 
 67                 dai-link-2 {
 68                         sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
 69                         dai-format = "i2s";
 70                         mclk-fs = <256>;
 71 
 72                         codec-0 {
 73                                 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
 74                         };
 75                 };
 76 
 77                 dai-link-3 {
 78                         sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>;
 79 
 80                         codec-0 {
 81                                 sound-dai = <&spdif_dit>;
 82                         };
 83                 };
 84 
 85                 dai-link-4 {
 86                         sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
 87 
 88                         codec-0 {
 89                                 sound-dai = <&hdmi_tx>;
 90                         };
 91                 };
 92         };
 93 };
 94 
 95 &aiu {
 96         status = "okay";
 97         pinctrl-0 = <&spdif_out_y_pins>;
 98         pinctrl-names = "default";
 99 };
100 
101 &i2c_A {
102         status = "okay";
103         pinctrl-0 = <&i2c_a_pins>;
104         pinctrl-names = "default";
105 };
106 
107 &usb1_phy {
108         status = "okay";
109 };
110 
111 &usb1 {
112         status = "okay";
113 };
114 
115 &ir {
116         linux,rc-map-name = "rc-wetek-play2";
117 };

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