mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 18:49:41 +00:00

Instead of hacking the configuration of the FPI bus into the arch code add an own bus driver for this internal bus. The FPI bus is the main bus of the SoC. This bus driver makes sure the bus is configured correctly before the child drivers are getting initialized. This driver will probably also be used on different SoCs later. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: john@phrozen.org Cc: p.zabel@pengutronix.de Cc: kishon@ti.com Cc: mark.rutland@arm.com Cc: linux-mips@linux-mips.org Cc: linux-mtd@lists.infradead.org Cc: linux-watchdog@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-spi@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/17122/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
32 lines
886 B
Plaintext
32 lines
886 B
Plaintext
Lantiq XWAY SoC FPI BUS binding
|
|
============================
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
Required properties:
|
|
- compatible : Should be one of
|
|
"lantiq,xrx200-fpi"
|
|
- reg : The address and length of the XBAR
|
|
configuration register.
|
|
Address and length of the FPI bus itself.
|
|
- lantiq,rcu : A phandle to the RCU syscon
|
|
- lantiq,offset-endianness : Offset of the endianness configuration
|
|
register
|
|
|
|
-------------------------------------------------------------------------------
|
|
Example for the FPI on the xrx200 SoCs:
|
|
fpi@10000000 {
|
|
compatible = "lantiq,xrx200-fpi";
|
|
ranges = <0x0 0x10000000 0xf000000>;
|
|
reg = <0x1f400000 0x1000>,
|
|
<0x10000000 0xf000000>;
|
|
lantiq,rcu = <&rcu0>;
|
|
lantiq,offset-endianness = <0x4c>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
gptu@e100a00 {
|
|
......
|
|
};
|
|
};
|