mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
sunxi-6.12: bananapi-m4-berry: delete unused nodes
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
From 5e7360471247c1fa87cb230e36e3aa9d185f1583 Mon Sep 17 00:00:00 2001
|
||||
From d9c5855767d3c2b5ad893b6d4d17b83662febe10 Mon Sep 17 00:00:00 2001
|
||||
From: The-going <48602507+The-going@users.noreply.github.com>
|
||||
Date: Mon, 24 Mar 2025 22:19:31 +0300
|
||||
Subject: [PATCH] arm64: allwinner: Add sun50i-h618-bananapi-m4-berry support
|
||||
Subject: arm64: allwinner: Add sun50i-h618-bananapi-m4-berry support
|
||||
|
||||
---
|
||||
arch/arm64/boot/dts/allwinner/Makefile | 1 +
|
||||
.../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 4 +-
|
||||
.../sun50i-h618-bananapi-m4-berry.dts | 422 ++++++++++++++++++
|
||||
3 files changed, 425 insertions(+), 2 deletions(-)
|
||||
.../sun50i-h618-bananapi-m4-berry.dts | 355 ++++++++++++++++++
|
||||
3 files changed, 358 insertions(+), 2 deletions(-)
|
||||
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4-berry.dts
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
|
||||
@@ -39,10 +39,10 @@ index 851cf3e5444d..84d5f4d6b65f 100644
|
||||
};
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4-berry.dts b/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4-berry.dts
|
||||
new file mode 100644
|
||||
index 000000000000..6dfb0a2a34d2
|
||||
index 000000000000..4762c3bbcf0f
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h618-bananapi-m4-berry.dts
|
||||
@@ -0,0 +1,422 @@
|
||||
@@ -0,0 +1,355 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ or MIT)
|
||||
+/*
|
||||
+ * Copyright (C) 2020 Arm Ltd.
|
||||
@@ -155,16 +155,7 @@ index 000000000000..6dfb0a2a34d2
|
||||
+ wifi_usb {
|
||||
+ compatible = "usb-wifi";
|
||||
+ status = "okay";
|
||||
+ reset-gpios = <&pio 2 2 GPIO_ACTIVE_HIGH>; /* PC2 */
|
||||
+ };
|
||||
+
|
||||
+ ac200_pwm_clk: ac200_clk {
|
||||
+ compatible = "pwm-clock";
|
||||
+ #clock-cells = <0>;
|
||||
+ // pwm5 period_ns = 500 > 334 for select 24M clock.
|
||||
+ pwms = <&pwm 5 500 0>;
|
||||
+ clock-frequency = <2000000>;
|
||||
+ status = "disabled";
|
||||
+ power_on_pin = <&pio 2 2 GPIO_ACTIVE_HIGH>; /* PC2 */
|
||||
+ };
|
||||
+
|
||||
+ soc {
|
||||
@@ -289,7 +280,6 @@ index 000000000000..6dfb0a2a34d2
|
||||
+ phy-io-supply = <®_dldo1>;
|
||||
+ allwinner,rx-delay-ps = <3100>;
|
||||
+ allwinner,tx-delay-ps = <700>;
|
||||
+ use_ephy25m = <0x00>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
@@ -306,17 +296,6 @@ index 000000000000..6dfb0a2a34d2
|
||||
+
|
||||
+&emac1 {
|
||||
+ compatible = "allwinner,sunxi-gmac";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&rmii_pins>;
|
||||
+ phy-mode = "rmii";
|
||||
+ phy-handle = <&rmii_phy>;
|
||||
+ phy-supply = <®_dldo1>;
|
||||
+ allwinner,rx-delay-ps = <3100>;
|
||||
+ allwinner,tx-delay-ps = <700>;
|
||||
+ phy-rst;
|
||||
+ gmac-power0;
|
||||
+ gmac-power1;
|
||||
+ gmac-power2;
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
@@ -392,56 +371,6 @@ index 000000000000..6dfb0a2a34d2
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&i2c2 {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&i2c3 {
|
||||
+ status = "disabled";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&i2c3_pa_pins>;
|
||||
+
|
||||
+ ac200_x: mfd@10 {
|
||||
+ compatible = "x-powers,ac200-sunxi";
|
||||
+ reg = <0x10>;
|
||||
+ clocks = <&ac200_pwm_clk>;
|
||||
+ // ephy id
|
||||
+ nvmem-cells = <&ephy_calibration>;
|
||||
+ nvmem-cell-names = "calibration";
|
||||
+
|
||||
+ ac200_ephy: phy {
|
||||
+ compatible = "x-powers,ac200-ephy-sunxi";
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&i2c4 {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&uart2 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart2_ph_pins>;
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&uart5 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart5_pins>;
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&codec {
|
||||
+ allwinner,audio-routing =
|
||||
+ "Line Out", "LINEOUT";
|
||||
@@ -452,6 +381,10 @@ index 000000000000..6dfb0a2a34d2
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&ahub_dam_mach {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&ahub1_plat {
|
||||
+ status = "okay";
|
||||
+};
|
||||
|
||||
Reference in New Issue
Block a user