Message ID | 1459703681-8689-1-git-send-email-carlo@caione.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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@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
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.
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>;