* [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
@ 2016-04-03 17:14 Carlo Caione
2016-04-03 17:19 ` Andreas Färber
0 siblings, 1 reply; 3+ messages in thread
From: Carlo Caione @ 2016-04-03 17:14 UTC (permalink / raw)
To: linux-arm-kernel
From: Carlo Caione <carlo@endlessm.com>
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.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
---
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index 832815d..3126f0c 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -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>;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
2016-04-03 17:14 [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses Carlo Caione
@ 2016-04-03 17:19 ` Andreas Färber
2016-04-03 17:34 ` Carlo Caione
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Färber @ 2016-04-03 17:19 UTC (permalink / raw)
To: linux-arm-kernel
Am 03.04.2016 um 19:14 schrieb Carlo Caione:
> From: Carlo Caione <carlo@endlessm.com>
>
> 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.
>
> Signed-off-by: Carlo Caione <carlo@endlessm.com>
> ---
> arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> index 832815d..3126f0c 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> @@ -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>;
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
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
2016-04-03 17:19 ` Andreas Färber
@ 2016-04-03 17:34 ` Carlo Caione
0 siblings, 0 replies; 3+ messages in thread
From: Carlo Caione @ 2016-04-03 17:34 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Apr 3, 2016 at 7:19 PM, Andreas F?rber <afaerber@suse.de> wrote:
> 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.
--
Carlo Caione
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-03 17:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-03 17:14 [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses Carlo Caione
2016-04-03 17:19 ` Andreas Färber
2016-04-03 17:34 ` Carlo Caione
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox