Last active
October 20, 2022 03:34
-
-
Save MarvelousBlack/1efc003fba52cf475ea31de28f0479da to your computer and use it in GitHub Desktop.
meson-gxl-s905d-phicomm-n1.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | |
/* | |
* Copyright (c) 2018 He Yangxuan | |
*/ | |
/dts-v1/; | |
#include "meson-gxl-s905d-p230.dts" | |
/ { | |
compatible = "phicomm,n1", "amlogic,s905d", "amlogic,meson-gxl"; | |
model = "Phicomm N1"; | |
cvbs-connector { | |
status = "disabled"; | |
}; | |
leds { | |
compatible = "gpio-leds"; | |
status { | |
label = "n1:white:status"; | |
gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; | |
default-state = "on"; | |
}; | |
}; | |
}; | |
ðmac { | |
pinctrl-0 = <ð_pins>; | |
pinctrl-names = "default"; | |
/* Select external PHY by default */ | |
phy-handle = <ð_phy0>; | |
amlogic,tx-delay-ns = <2>; | |
/* External PHY reset is shared with internal PHY Led signals */ | |
snps,reset-gpio = <&gpio GPIOZ_14 0>; | |
snps,reset-delays-us = <0 10000 1000000>; | |
snps,reset-active-low; | |
/* External PHY is in RGMII */ | |
phy-mode = "rgmii"; | |
mdio { | |
#address-cells = <0x1>; | |
#size-cells = <0x0>; | |
compatible = "snps,dwmac-mdio"; | |
phandle = <0x1a>; | |
eth_phy0: ethernet-phy@0 { | |
reg = <0x0>; | |
phandle = <0x1d>; | |
}; | |
}; | |
}; | |
/* This UART is connected to the Bluetooth module */ | |
&uart_A { | |
status = "okay"; | |
pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; | |
pinctrl-names = "default"; | |
uart-has-rtscts; | |
bluetooth { | |
compatible = "brcm,bcm43438-bt"; | |
shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; | |
max-speed = <2000000>; | |
clocks = <&wifi32k>; | |
clock-names = "lpo"; | |
}; | |
}; | |
&cvbs_vdac_port { | |
status = "disabled"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment