Gateway GZ80x: Add bluetooth support

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
This commit is contained in:
Patrick Yavitz
2025-07-03 16:32:09 -04:00
committed by c0rnelius
parent 8fff7110f7
commit ba8487ed52
4 changed files with 32 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/* /*
* Copyright (c) 2024 Patrick Yavitz <pyavitz@armbian.com> * Copyright (c) 2025 Patrick Yavitz <pyavitz@armbian.com>
*/ */
/dts-v1/; /dts-v1/;
@@ -11,12 +11,6 @@
compatible = "amper,gateway-am-gz80x", "amlogic,a113x", "amlogic,meson-axg"; compatible = "amper,gateway-am-gz80x", "amlogic,a113x", "amlogic,meson-axg";
model = "Amper Gateway AM-GZ80x"; model = "Amper Gateway AM-GZ80x";
aliases {
serial1 = &uart_B;
serial2 = &uart_AO_B;
ethernet0 = &ethmac;
};
/* 1024MB RAM */ /* 1024MB RAM */
memory@0 { memory@0 {
device_type = "memory"; device_type = "memory";
@@ -30,8 +24,19 @@
}; };
}; };
&spicc1 {
status = "disabled";
};
/* Bluetooth */
&uart_B { &uart_B {
status = "okay"; status = "okay";
pinctrl-0 = <&uart_b_z_pins>; pinctrl-0 = <&uart_b_x_pins>, <&uart_b_x_cts_rts_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
uart-has-rtscts;
bluetooth {
compatible = "realtek,rtl8723bs-bt";
enable-gpios = <&gpio GPIOX_11 GPIO_ACTIVE_HIGH>;
};
}; };

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/* /*
* Copyright (c) 2024 Patrick Yavitz <pyavitz@armbian.com> * Copyright (c) 2025 Patrick Yavitz <pyavitz@armbian.com>
*/ */
/dts-v1/; /dts-v1/;
@@ -13,6 +13,8 @@
/ { / {
aliases { aliases {
serial0 = &uart_AO; serial0 = &uart_AO;
serial2 = &uart_AO_B;
ethernet0 = &ethmac;
}; };
chosen { chosen {

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/* /*
* Copyright (c) 2024 Patrick Yavitz <pyavitz@armbian.com> * Copyright (c) 2025 Patrick Yavitz <pyavitz@armbian.com>
*/ */
/dts-v1/; /dts-v1/;
@@ -11,12 +11,6 @@
compatible = "amper,gateway-am-gz80x", "amlogic,a113x", "amlogic,meson-axg"; compatible = "amper,gateway-am-gz80x", "amlogic,a113x", "amlogic,meson-axg";
model = "Amper Gateway AM-GZ80x"; model = "Amper Gateway AM-GZ80x";
aliases {
serial1 = &uart_B;
serial2 = &uart_AO_B;
ethernet0 = &ethmac;
};
/* 1024MB RAM */ /* 1024MB RAM */
memory@0 { memory@0 {
device_type = "memory"; device_type = "memory";
@@ -30,8 +24,19 @@
}; };
}; };
&spicc1 {
status = "disabled";
};
/* Bluetooth */
&uart_B { &uart_B {
status = "okay"; status = "okay";
pinctrl-0 = <&uart_b_z_pins>; pinctrl-0 = <&uart_b_x_pins>, <&uart_b_x_cts_rts_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
uart-has-rtscts;
bluetooth {
compatible = "realtek,rtl8723bs-bt";
enable-gpios = <&gpio GPIOX_11 GPIO_ACTIVE_HIGH>;
};
}; };

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/* /*
* Copyright (c) 2024 Patrick Yavitz <pyavitz@armbian.com> * Copyright (c) 2025 Patrick Yavitz <pyavitz@armbian.com>
*/ */
/dts-v1/; /dts-v1/;
@@ -13,6 +13,8 @@
/ { / {
aliases { aliases {
serial0 = &uart_AO; serial0 = &uart_AO;
serial2 = &uart_AO_B;
ethernet0 = &ethmac;
}; };
chosen { chosen {