diff mbox

[OpenWrt-Devel,1/4] lantiq: Add the xbar to vr9.dts

Message ID 1451520648-5668-1-git-send-email-martin.blumenstingl@googlemail.com
State Accepted
Headers show

Commit Message

Martin Blumenstingl Dec. 31, 2015, 12:10 a.m. UTC
linux 4.4 (since commit 08b3c894e56580b8ed3e601212a25bda974c3cc2
"MIPS: lantiq: Disable xbar fpi burst mode") requires that the xbar is
defined in the .dts of vrx200 (VR9) SoCs.
---
I am not sure if the xbar size is really 0x1000 or if it's smaller/larger.
Unfortunately there doesn't seem to be public information about it, but
at least 0x1000 works.

 target/linux/lantiq/dts/vr9.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

John Crispin Dec. 31, 2015, 8:58 a.m. UTC | #1
On 31/12/2015 01:10, Martin Blumenstingl wrote:
> linux 4.4 (since commit 08b3c894e56580b8ed3e601212a25bda974c3cc2
> "MIPS: lantiq: Disable xbar fpi burst mode") requires that the xbar is
> defined in the .dts of vrx200 (VR9) SoCs.
> ---
> I am not sure if the xbar size is really 0x1000 or if it's smaller/larger.
> Unfortunately there doesn't seem to be public information about it, but
> at least 0x1000 works.
> 

had a look in the datasheet just now and the range is 0x1F400000-0x1F400FFF






>  target/linux/lantiq/dts/vr9.dtsi | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi
> index 136483a..df63ce7 100644
> --- a/target/linux/lantiq/dts/vr9.dtsi
> +++ b/target/linux/lantiq/dts/vr9.dtsi
> @@ -75,6 +75,11 @@
>  			interrupt-parent = <&icu0>;
>  			interrupts = <115>;
>  		};
> +
> +		xbar0: xbar@400000 {
> +			compatible = "lantiq,xbar-xway";
> +			reg = <0x400000 0x1000>;
> +		};
>  	};
>  
>  	fpi@10000000 {
> @@ -184,7 +189,6 @@
>  				0xE105400 0x400>;       /* pci bridge */
>  			status = "disabled";
>  		};
> -
>  	};
>  
>  	vdsl {
>
diff mbox

Patch

diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi
index 136483a..df63ce7 100644
--- a/target/linux/lantiq/dts/vr9.dtsi
+++ b/target/linux/lantiq/dts/vr9.dtsi
@@ -75,6 +75,11 @@ 
 			interrupt-parent = <&icu0>;
 			interrupts = <115>;
 		};
+
+		xbar0: xbar@400000 {
+			compatible = "lantiq,xbar-xway";
+			reg = <0x400000 0x1000>;
+		};
 	};
 
 	fpi@10000000 {
@@ -184,7 +189,6 @@ 
 				0xE105400 0x400>;       /* pci bridge */
 			status = "disabled";
 		};
-
 	};
 
 	vdsl {