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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.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) 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 = "minix,neo-u9h", "amlogic,s912", "amlogic,meson-gxm";
 15         model = "Minix Neo U9-H";
 16 
 17         leds {
 18                 compatible = "gpio-leds";
 19 
 20                 led-white {
 21                         color = <LED_COLOR_ID_WHITE>;
 22                         function = LED_FUNCTION_POWER;
 23                         gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
 24                         default-state = "on";
 25                         panic-indicator;
 26                 };
 27         };
 28 
 29         adc-keys {
 30                 compatible = "adc-keys";
 31                 io-channels = <&saradc 0>;
 32                 io-channel-names = "buttons";
 33                 keyup-threshold-microvolt = <1710000>;
 34 
 35                 button-function {
 36                         label = "update";
 37                         linux,code = <KEY_VENDOR>;
 38                         press-threshold-microvolt = <10000>;
 39                 };
 40         };
 41 
 42         gpio-keys-polled {
 43                 compatible = "gpio-keys-polled";
 44                 poll-interval = <100>;
 45 
 46                 button {
 47                         label = "power";
 48                         linux,code = <KEY_POWER>;
 49                         gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
 50                 };
 51         };
 52 };
 53 
 54 &ethmac {
 55         pinctrl-0 = <&eth_pins>;
 56         pinctrl-names = "default";
 57         phy-handle = <&external_phy>;
 58         amlogic,tx-delay-ns = <2>;
 59         phy-mode = "rgmii";
 60 };
 61 
 62 &external_mdio {
 63         external_phy: ethernet-phy@0 {
 64                 /* Realtek RTL8211F (0x001cc916) */
 65                 reg = <0>;
 66                 max-speed = <1000>;
 67 
 68                 reset-assert-us = <10000>;
 69                 reset-deassert-us = <80000>;
 70                 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
 71 
 72                 interrupt-parent = <&gpio_intc>;
 73                 /* MAC_INTR on GPIOZ_15 */
 74                 interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
 75         };
 76 };
 77 
 78 &ir {
 79         linux,rc-map-name = "rc-minix-neo";
 80 };
 81 
 82 &i2c_B {
 83         status = "okay";
 84         pinctrl-0 = <&i2c_b_pins>;
 85         pinctrl-names = "default";
 86 
 87         rtc: rtc@51 {
 88                 status = "okay";
 89                 compatible = "haoyu,hym8563";
 90                 reg = <0x51>;
 91                 #clock-cells = <0>;
 92                 clock-output-names = "xin32k";
 93                 wakeup-source;
 94         };
 95 };
 96 
 97 &sd_emmc_a {
 98         brcmf: wifi@1 {
 99                 reg = <1>;
100                 compatible = "brcm,bcm4329-fmac";
101         };
102 };
103 
104 &uart_A {
105         status = "okay";
106         pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
107         pinctrl-names = "default";
108         uart-has-rtscts;
109 
110         bluetooth {
111                 compatible = "brcm,bcm43438-bt";
112                 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
113                 max-speed = <2000000>;
114                 clocks = <&wifi32k>;
115                 clock-names = "lpo";
116         };
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