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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/amlogic/meson-gxm-wetek-core2.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 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com>
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "meson-gxm.dtsi"
  9 #include "meson-gx-p23x-q20x.dtsi"
 10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/leds/common.h>
 12 
 13 / {
 14         compatible = "wetek,core2", "amlogic,s912", "amlogic,meson-gxm";
 15         model = "WeTek Core 2";
 16 
 17         memory@0 {
 18                 device_type = "memory";
 19                 reg = <0x0 0x0 0x0 0x80000000>; /* 2 GiB or 3 GiB */
 20         };
 21 
 22         leds {
 23                 compatible = "gpio-leds";
 24 
 25                 led-blue {
 26                         color = <LED_COLOR_ID_BLUE>;
 27                         function = LED_FUNCTION_STATUS;
 28                         gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
 29                         default-state = "on";
 30                 };
 31         };
 32 
 33         adc-keys {
 34                 compatible = "adc-keys";
 35                 io-channels = <&saradc 0>;
 36                 io-channel-names = "buttons";
 37                 keyup-threshold-microvolt = <1710000>;
 38 
 39                 button-update {
 40                         label = "update";
 41                         linux,code = <KEY_VENDOR>;
 42                         press-threshold-microvolt = <10000>;
 43                 };
 44         };
 45 
 46         gpio-keys-polled {
 47                 compatible = "gpio-keys-polled";
 48                 poll-interval = <100>;
 49 
 50                 button-power {
 51                         label = "power";
 52                         linux,code = <KEY_POWER>;
 53                         gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
 54                 };
 55         };
 56 };
 57 
 58 /* Disabled as Realtek RTL8152 USB provides Ethernet */
 59 &ethmac {
 60         status = "disabled";
 61 };
 62 
 63 &internal_phy {
 64         status = "disabled";
 65 };
 66 
 67 &ir {
 68         linux,rc-map-name = "rc-wetek-play2";
 69 };
 70 
 71 /* This is connected to the Bluetooth module: */
 72 &uart_A {
 73         status = "okay";
 74         pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
 75         pinctrl-names = "default";
 76         uart-has-rtscts;
 77 
 78         bluetooth {
 79                 compatible = "brcm,bcm43438-bt";
 80                 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
 81                 max-speed = <2000000>;
 82                 clocks = <&wifi32k>;
 83                 clock-names = "lpo";
 84         };
 85 };

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