Skip to contentSkip to conversation

ARM64: dts: amlogic: Add hiu and periphs buses

PATCH New Carlo Caione 2 participants 3 messages Apr 3, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM64: dts: amlogic: Add hiu and periphs buses

From: Carlo Caione <[email protected]>

Add two new buses in the DTS: hiu and periphs buses.
In the Amlogic S905/GXBB SoC several devices (clock / eth / pin controllers, etc...) are mapped under these two buses. Add them in the DT before starting to add new devices.

---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +16 -0
index 832815d..3126f0c 100644
@@ -167,6 +167,22 @@
 			};
 		};
 
+		periphs: periphs at c8834000 {
+			compatible = "simple-bus";
+			reg = <0x0 0xc8834000 0x0 0x2000>;
+			#address-cells = <2>;
+			#size-cells = <2>;
+			ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;
+		};
+
+		hiubus: hiubus at c883c000 {
+			compatible = "simple-bus";
+			reg = <0x0 0xc883c000 0x0 0x2000>;
+			#address-cells = <2>;
+			#size-cells = <2>;
+			ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>;
+		};
+
 		apb: apb at d0000000 {
 			compatible = "simple-bus";
 			reg = <0x0 0xd0000000 0x0 0x200000>;
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM64: dts: amlogic: Add hiu and periphs buses

Am 03.04.2016 um 19:14 schrieb Carlo Caione:

Quoted 29 lines

From: Carlo Caione <[email protected]>

Add two new buses in the DTS: hiu and periphs buses.
In the Amlogic S905/GXBB SoC several devices (clock / eth / pin controllers, etc...) are mapped under these two buses. Add them in the DT before starting to add new devices.

---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +9 -0
index 832815d..3126f0c 100644
@@ -167,6 +167,22 @@
 			};
 		};
 
+		periphs: periphs at c8834000 {
+			compatible = "simple-bus";
+			reg = <0x0 0xc8834000 0x0 0x2000>;
+			#address-cells = <2>;
+			#size-cells = <2>;
+			ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;
+		};
+
+		hiubus: hiubus at c883c000 {

arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi line 188

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +7 -0
+			compatible = "simple-bus";
+			reg = <0x0 0xc883c000 0x0 0x2000>;
+			#address-cells = <2>;
+			#size-cells = <2>;
+			ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>;
+		};
+
 		apb: apb at d0000000 {
 			compatible = "simple-bus";
 			reg = <0x0 0xd0000000 0x0 0x200000>;

Looks sane, but where did you get that info from? The others I had found in an iomap node or so but did not spot these.

Regards,
Andreas

Signature · 2 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)
#2 lore raw

PATCH 1/1 ARM64: dts: amlogic: Add hiu and periphs buses

Quoted 4 lines · Andreas F?rber

Am 03.04.2016 um 19:14 schrieb Carlo Caione:

Looks sane, but where did you get that info from? The others I had found in an iomap node or so but did not spot these.

For hiubus you can see the io_hiubus_base node in the gxbb_p201.dts DT file. For the periphs bus is a bit more tricky. The only reasonable information I found is oddly in drivers/amlogic/hdmi/hdmi_tx_20/hw/reg_ops.c.

Signature · 1 line
Carlo Caione