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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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) Christian Hewitt <christianshewitt@gmail.com>
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "meson-gxl-s905d.dtsi"
  9 #include "meson-gx-p23x-q20x.dtsi"
 10 #include <dt-bindings/leds/common.h>
 11 
 12 / {
 13         compatible = "smartlabs,sml5442tw", "amlogic,s905d", "amlogic,meson-gxl";
 14         model = "SmartLabs SML-5442TW";
 15 
 16         leds {
 17                 compatible = "gpio-leds";
 18 
 19                 led-yellow {
 20                         color = <LED_COLOR_ID_YELLOW>;
 21                         function = LED_FUNCTION_STATUS;
 22                         gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>;
 23                         default-state = "off";
 24                 };
 25 
 26                 led-blue {
 27                         color = <LED_COLOR_ID_BLUE>;
 28                         function = LED_FUNCTION_STATUS;
 29                         gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>;
 30                         default-state = "off";
 31                 };
 32 
 33                 led-green {
 34                         color = <LED_COLOR_ID_GREEN>;
 35                         function = LED_FUNCTION_STATUS;
 36                         gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
 37                         default-state = "on";
 38                 };
 39 
 40                 led-red {
 41                         color = <LED_COLOR_ID_RED>;
 42                         function = LED_FUNCTION_STATUS;
 43                         gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>;
 44                         default-state = "off";
 45                 };
 46         };
 47 };
 48 
 49 &ethmac {
 50         status = "okay";
 51         phy-mode = "rmii";
 52         phy-handle = <&internal_phy>;
 53 };
 54 
 55 &i2c_A {
 56         status = "okay";
 57         pinctrl-0 = <&i2c_a_pins>;
 58         pinctrl-names = "default";
 59 };
 60 
 61 &internal_phy {
 62         pinctrl-0 = <&eth_link_led_pins>, <&eth_act_led_pins>;
 63         pinctrl-names = "default";
 64 };
 65 
 66 &ir {
 67         linux,rc-map-name = "rc-khamsin";
 68 };
 69 
 70 /* This is connected to the Bluetooth module: */
 71 &uart_A {
 72         status = "okay";
 73         pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
 74         pinctrl-names = "default";
 75         uart-has-rtscts;
 76 
 77         bluetooth {
 78                 compatible = "qcom,qca9377-bt";
 79                 enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
 80                 max-speed = <2000000>;
 81                 clocks = <&wifi32k>;
 82         };
 83 };

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