Skip to content

Commit f91670f

Browse files
committed
arm64: dts: amlogic: Add gxl x96w
1 parent 29c263d commit f91670f

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

arch/arm64/boot/dts/amlogic/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-jethome-jethub-j80.dtb
6969
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-p281.dtb
7070
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-tx3-mini.dtb
7171
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-x96-mini.dtb
72+
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-x96w.dtb
7273
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-b860h.dtb
7374
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-hwacom-amazetv.dtb
7475
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-khadas-vim.dtb
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2018 Martin Blumenstingl <[email protected]>.
4+
* Based on meson-gxl-s905d-p231.dts:
5+
* - Copyright (c) 2016 Endless Computers, Inc.
6+
* - Copyright (c) unifreq
7+
*/
8+
9+
/dts-v1/;
10+
11+
#include "meson-gxl-s905w-p281.dts"
12+
13+
/ {
14+
compatible = "amlogic,p281", "amlogic,s905w", "amlogic,meson-gxl";
15+
model = "X96W";
16+
17+
aliases {
18+
serial0 = &uart_AO; /* Console */
19+
serial1 = &uart_A; /* Bluetooth */
20+
ethernet0 = &ethmac;
21+
};
22+
};
23+
24+
/* SDIO wifi: AP6255 */
25+
&sd_emmc_a {
26+
status = "okay";
27+
28+
brcmf: wifi@1 {
29+
reg = <1>;
30+
compatible = "brcm,bcm4329-fmac";
31+
};
32+
};
33+
34+
/* SD card */
35+
&sd_emmc_b {
36+
status = "okay";
37+
bus-width = <4>;
38+
cap-sd-highspeed;
39+
max-frequency = <50000000>;
40+
};
41+
42+
/* eMMC */
43+
&sd_emmc_c {
44+
status = "okay";
45+
max-frequency = <50000000>;
46+
};
47+
48+
/* Console UART */
49+
&uart_AO {
50+
status = "okay";
51+
pinctrl-0 = <&uart_ao_a_pins>;
52+
pinctrl-names = "default";
53+
};
54+
55+
/* S905W only has access to its internal PHY */
56+
&ethmac {
57+
status = "okay";
58+
phy-mode = "rmii";
59+
phy-handle = <&internal_phy>;
60+
};
61+
62+
&internal_phy {
63+
status = "okay";
64+
pinctrl-0 = <&eth_link_led_pins>, <&eth_act_led_pins>;
65+
pinctrl-names = "default";
66+
max-speed = <100>;
67+
};
68+
69+
/* This is connected to the Bluetooth module: AP6255 */
70+
&uart_A {
71+
status = "okay";
72+
pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
73+
pinctrl-names = "default";
74+
uart-has-rtscts;
75+
76+
bluetooth {
77+
compatible = "brcm,bcm4345c5";
78+
shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
79+
max-speed = <2000000>;
80+
clocks = <&wifi32k>;
81+
clock-names = "lpo";
82+
};
83+
};

0 commit comments

Comments
 (0)