* [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
@ 2016-04-03 17:14 Carlo Caione
[not found] ` <1459703681-8689-1-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Carlo Caione @ 2016-04-03 17:14 UTC (permalink / raw)
To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, afaerber-l3A5Bk7waGM,
khilman-rdvid1DuHRBWk0Htik3J/w,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-meson-/JYPxA39Uh5TLH3MbocFFw,
devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: Carlo Caione
From: Carlo Caione <carlo-6IF/jdPJHihWk0Htik3J/w@public.gmane.org>
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-6IF/jdPJHihWk0Htik3J/w@public.gmane.org>
---
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@c8834000 {
+ compatible = "simple-bus";
+ reg = <0x0 0xc8834000 0x0 0x2000>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;
+ };
+
+ hiubus: hiubus@c883c000 {
+ compatible = "simple-bus";
+ reg = <0x0 0xc883c000 0x0 0x2000>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>;
+ };
+
apb: apb@d0000000 {
compatible = "simple-bus";
reg = <0x0 0xd0000000 0x0 0x200000>;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1459703681-8689-1-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses [not found] ` <1459703681-8689-1-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org> @ 2016-04-03 17:19 ` Andreas Färber [not found] ` <5701508B.1050403-l3A5Bk7waGM@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Andreas Färber @ 2016-04-03 17:19 UTC (permalink / raw) To: Carlo Caione Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, khilman-rdvid1DuHRBWk0Htik3J/w, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-meson-/JYPxA39Uh5TLH3MbocFFw, devicetree-u79uwXL29TY76Z2rM5mHXA, Carlo Caione Am 03.04.2016 um 19:14 schrieb Carlo Caione: > From: Carlo Caione <carlo-6IF/jdPJHihWk0Htik3J/w@public.gmane.org> > > 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-6IF/jdPJHihWk0Htik3J/w@public.gmane.org> > --- > 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@c8834000 { > + compatible = "simple-bus"; > + reg = <0x0 0xc8834000 0x0 0x2000>; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>; > + }; > + > + hiubus: hiubus@c883c000 { > + compatible = "simple-bus"; > + reg = <0x0 0xc883c000 0x0 0x2000>; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>; > + }; > + > apb: apb@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) -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <5701508B.1050403-l3A5Bk7waGM@public.gmane.org>]
* Re: [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses [not found] ` <5701508B.1050403-l3A5Bk7waGM@public.gmane.org> @ 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: Andreas Färber Cc: Carlo Caione, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Kevin Hilman, linux-arm-kernel, linux-meson, devicetree, Carlo Caione On Sun, Apr 3, 2016 at 7:19 PM, Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org> 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ 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
[not found] ` <1459703681-8689-1-git-send-email-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>
2016-04-03 17:19 ` Andreas Färber
[not found] ` <5701508B.1050403-l3A5Bk7waGM@public.gmane.org>
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