* [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
@ 2016-04-03 17:14 ` Carlo Caione
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
@ 2016-04-03 17:14 ` Carlo Caione
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
@ 2016-04-03 17:19 ` Andreas Färber
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
@ 2016-04-03 17:19 ` Andreas Färber
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
@ 2016-04-03 17:34 ` Carlo Caione
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: [PATCH] ARM64: dts: amlogic: Add hiu and periphs buses
@ 2016-04-03 17:34 ` Carlo Caione
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2016-04-03 17:34 UTC | newest]
Thread overview: 6+ 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:14 ` Carlo Caione
2016-04-03 17:19 ` Andreas Färber
2016-04-03 17:19 ` Andreas Färber
2016-04-03 17:34 ` Carlo Caione
2016-04-03 17:34 ` Carlo Caione
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.