1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) Christian Hewitt <christianshe 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 = "azw,gt1-ultimate", "amlo 15 model = "Beelink GT1 Ultimate"; 16 17 leds { 18 compatible = "gpio-leds"; 19 20 led-white { 21 color = <LED_COLOR_ID_ 22 function = LED_FUNCTIO 23 gpios = <&gpio_ao GPIO 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 = <1 34 35 button-function { 36 label = "update"; 37 linux,code = <KEY_VEND 38 press-threshold-microv 39 }; 40 }; 41 }; 42 43 ðmac { 44 pinctrl-0 = <ð_pins>; 45 pinctrl-names = "default"; 46 phy-handle = <&external_phy>; 47 amlogic,tx-delay-ns = <2>; 48 phy-mode = "rgmii"; 49 }; 50 51 &external_mdio { 52 external_phy: ethernet-phy@0 { 53 /* Realtek RTL8211F (0x001cc91 54 reg = <0>; 55 max-speed = <1000>; 56 57 reset-assert-us = <10000>; 58 reset-deassert-us = <80000>; 59 reset-gpios = <&gpio GPIOZ_14 60 61 interrupt-parent = <&gpio_intc 62 /* MAC_INTR on GPIOZ_15 */ 63 interrupts = <25 IRQ_TYPE_LEVE 64 }; 65 }; 66 67 &ir { 68 linux,rc-map-name = "rc-beelink-gs1"; 69 }; 70 71 &sd_emmc_a { 72 brcmf: wifi@1 { 73 reg = <1>; 74 compatible = "brcm,bcm4329-fma 75 }; 76 }; 77 78 &uart_A { 79 status = "okay"; 80 pinctrl-0 = <&uart_a_pins>, <&uart_a_c 81 pinctrl-names = "default"; 82 uart-has-rtscts; 83 84 bluetooth { 85 compatible = "brcm,bcm43438-bt 86 shutdown-gpios = <&gpio GPIOX_ 87 max-speed = <2000000>; 88 clocks = <&wifi32k>; 89 clock-names = "lpo"; 90 }; 91 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.