1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Author: Christian Hewitt <christianshewitt@g 3 * Author: Christian Hewitt <christianshewitt@gmail.com> 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "meson-gxl-s905d.dtsi" 8 #include "meson-gxl-s905d.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/leds/common.h> 12 12 13 / { 13 / { 14 compatible = "osmc,vero4k-plus", "amlo 14 compatible = "osmc,vero4k-plus", "amlogic,s905d", "amlogic,meson-gxl"; 15 model = "OSMC Vero 4K Plus"; 15 model = "OSMC Vero 4K Plus"; 16 16 17 gpio-keys-polled { 17 gpio-keys-polled { 18 compatible = "gpio-keys-polled 18 compatible = "gpio-keys-polled"; >> 19 #address-cells = <1>; >> 20 #size-cells = <0>; 19 poll-interval = <20>; 21 poll-interval = <20>; 20 22 21 button { !! 23 button@0 { 22 label = "power"; 24 label = "power"; 23 linux,code = <KEY_POWE 25 linux,code = <KEY_POWER>; 24 gpios = <&gpio_ao GPIO 26 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 25 }; 27 }; 26 }; 28 }; 27 29 28 leds { 30 leds { 29 compatible = "gpio-leds"; 31 compatible = "gpio-leds"; 30 32 31 led-standby { 33 led-standby { 32 color = <LED_COLOR_ID_ 34 color = <LED_COLOR_ID_RED>; 33 function = LED_FUNCTIO 35 function = LED_FUNCTION_POWER; 34 gpios = <&gpio_ao GPIO 36 gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_LOW>; 35 default-state = "off"; 37 default-state = "off"; 36 panic-indicator; 38 panic-indicator; 37 }; 39 }; 38 }; 40 }; 39 }; 41 }; 40 42 41 ðmac { 43 ðmac { 42 pinctrl-0 = <ð_pins>; 44 pinctrl-0 = <ð_pins>; 43 pinctrl-names = "default"; 45 pinctrl-names = "default"; 44 46 45 phy-mode = "rgmii-txid"; 47 phy-mode = "rgmii-txid"; 46 phy-handle = <&external_phy>; 48 phy-handle = <&external_phy>; 47 49 48 amlogic,tx-delay-ns = <0>; 50 amlogic,tx-delay-ns = <0>; 49 }; 51 }; 50 52 51 &external_mdio { 53 &external_mdio { 52 external_phy: ethernet-phy@0 { 54 external_phy: ethernet-phy@0 { 53 /* Realtek RTL8211F (0x001cc91 55 /* Realtek RTL8211F (0x001cc916) */ 54 pinctrl-0 = <ð_phy_irq_pin> 56 pinctrl-0 = <ð_phy_irq_pin>; 55 pinctrl-names = "default"; 57 pinctrl-names = "default"; 56 58 57 reg = <0>; 59 reg = <0>; 58 max-speed = <1000>; 60 max-speed = <1000>; 59 61 60 reset-assert-us = <10000>; 62 reset-assert-us = <10000>; 61 reset-deassert-us = <80000>; 63 reset-deassert-us = <80000>; 62 reset-gpios = <&gpio GPIOZ_14 64 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; 63 65 64 interrupt-parent = <&gpio_intc 66 interrupt-parent = <&gpio_intc>; 65 interrupts = <25 IRQ_TYPE_LEVE 67 interrupts = <25 IRQ_TYPE_LEVEL_LOW>; 66 }; 68 }; 67 }; 69 }; 68 70 69 &pinctrl_periphs { 71 &pinctrl_periphs { 70 /* Ensure the phy irq pin is properly 72 /* Ensure the phy irq pin is properly configured as input */ 71 eth_phy_irq_pin: eth-phy-irq { 73 eth_phy_irq_pin: eth-phy-irq { 72 mux { 74 mux { 73 groups = "GPIOZ_15"; 75 groups = "GPIOZ_15"; 74 function = "gpio_perip 76 function = "gpio_periphs"; 75 bias-disable; 77 bias-disable; 76 output-disable; 78 output-disable; 77 }; 79 }; 78 }; 80 }; 79 }; 81 }; 80 82 81 &sd_emmc_a { 83 &sd_emmc_a { 82 brcmf: wifi@1 { 84 brcmf: wifi@1 { 83 reg = <1>; 85 reg = <1>; 84 compatible = "brcm,bcm4329-fma 86 compatible = "brcm,bcm4329-fmac"; 85 }; 87 }; 86 }; 88 }; 87 89 88 &uart_A { 90 &uart_A { 89 status = "okay"; 91 status = "okay"; 90 pinctrl-0 = <&uart_a_pins>, <&uart_a_c 92 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; 91 pinctrl-names = "default"; 93 pinctrl-names = "default"; 92 uart-has-rtscts; 94 uart-has-rtscts; 93 95 94 bluetooth { 96 bluetooth { 95 compatible = "brcm,bcm43438-bt 97 compatible = "brcm,bcm43438-bt"; 96 shutdown-gpios = <&gpio GPIOX_ 98 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; 97 max-speed = <2000000>; 99 max-speed = <2000000>; 98 clocks = <&wifi32k>; 100 clocks = <&wifi32k>; 99 clock-names = "lpo"; 101 clock-names = "lpo"; 100 }; 102 }; 101 }; 103 }; 102 104 103 &usb { 105 &usb { 104 dr_mode = "host"; 106 dr_mode = "host"; 105 }; 107 }; 106 108 107 &usb2_phy0 { 109 &usb2_phy0 { 108 /* HDMI_5V also supplies the USB VBUS 110 /* HDMI_5V also supplies the USB VBUS */ 109 phy-supply = <&hdmi_5v>; 111 phy-supply = <&hdmi_5v>; 110 }; 112 }; 111 113 112 &usb2_phy0 { 114 &usb2_phy0 { 113 /* HDMI_5V also supplies the USB VBUS 115 /* HDMI_5V also supplies the USB VBUS */ 114 phy-supply = <&hdmi_5v>; 116 phy-supply = <&hdmi_5v>; 115 }; 117 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.