diff mbox

[5/9] ARM: shmobile: r8a73a4 dtsi: Add Bus State Controller node

Message ID 1421758306-24838-6-git-send-email-geert+renesas@glider.be (mailing list archive)
State Superseded
Commit c1dde1e1408de5b392f0703701b4fd91945132ed
Headers show

Commit Message

Geert Uytterhoeven Jan. 20, 2015, 12:51 p.m. UTC
Add a node for the Bus State Controller (BSC) on r8a73a4, to which
multiple external devices can be connected.

The BSC is driven by the ZB clock, and located in PM domain C4.
A reference to the latter will be added later.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
v3:
  - Add Tested-by,
  - Move "ranges" before "reg",

v2:
  - New.
---
 arch/arm/boot/dts/r8a73a4.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Laurent Pinchart Jan. 20, 2015, 1:04 p.m. UTC | #1
Hi Geert,

Thank you for the patch.

On Tuesday 20 January 2015 13:51:42 Geert Uytterhoeven wrote:
> Add a node for the Bus State Controller (BSC) on r8a73a4, to which
> multiple external devices can be connected.
> 
> The BSC is driven by the ZB clock, and located in PM domain C4.
> A reference to the latter will be added later.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Tested-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> v3:
>   - Add Tested-by,
>   - Move "ranges" before "reg",
> 
> v2:
>   - New.
> ---
>  arch/arm/boot/dts/r8a73a4.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi
> index fdcca5d0fb61f0bc..6e59602307e14d8b 100644
> --- a/arch/arm/boot/dts/r8a73a4.dtsi
> +++ b/arch/arm/boot/dts/r8a73a4.dtsi
> @@ -409,6 +409,15 @@
>  		interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
>  	};
> 
> +	bsc: bus@fec10000 {
> +		compatible = "renesas,bsc-r8a73a4", "renesas,bsc", "simple-bus";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges = <0 0 0 0x20000000>;
> +		reg = <0 0xfec10000 0 0x400>;
> +		clocks = <&zb_clk>;
> +	};
> +
>  	clocks {
>  		#address-cells = <2>;
>  		#size-cells = <2>;
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi
index fdcca5d0fb61f0bc..6e59602307e14d8b 100644
--- a/arch/arm/boot/dts/r8a73a4.dtsi
+++ b/arch/arm/boot/dts/r8a73a4.dtsi
@@ -409,6 +409,15 @@ 
 		interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
 	};
 
+	bsc: bus@fec10000 {
+		compatible = "renesas,bsc-r8a73a4", "renesas,bsc", "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges = <0 0 0 0x20000000>;
+		reg = <0 0xfec10000 0 0x400>;
+		clocks = <&zb_clk>;
+	};
+
 	clocks {
 		#address-cells = <2>;
 		#size-cells = <2>;