Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400127

Re: [PATCH 3/4] ARM: dts: bcm2835: add the bcm2835-sdram-controller to the dt

From Stefan Wahren <stefan.wahren@i2se.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] ARM: dts: bcm2835: add the bcm2835-sdram-controller to the dt
Date 2016-05-12 17:00 +0200
Message-ID <ry0fM-80O-15@gated-at.bofh.it> (permalink)
References <rxY4h-5Qr-5@gated-at.bofh.it> <rxY4i-5Qr-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

> kernel@martin.sperl.org hat am 12. Mai 2016 um 14:38 geschrieben:
> 
> 
> From: Martin Sperl <kernel@martin.sperl.org>
> 
> Add the bcm2835 sdram controller to the device tree.
> 
> Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
> ---
>  arch/arm/boot/dts/bcm283x.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
> index 8aaf193..9db9d97 100644
> --- a/arch/arm/boot/dts/bcm283x.dtsi
> +++ b/arch/arm/boot/dts/bcm283x.dtsi
> @@ -22,6 +22,12 @@
>  		#address-cells = <1>;
>  		#size-cells = <1>;
>  
> +		memory-controller@7e002000 {
> +			compatible = "brcm,bcm2835-sdram";
> +			reg = <0x7e002000 0x58>, <0x7e002800 0x58>;

where do you get these addresses?

According to register documentation [1] the adresses belong to the interrupt
controller.

Maybe 0x7ee00000 is the right address.

[1] - https://github.com/hermanhermitage/videocoreiv/wiki/Register-Documentation

> +			clocks = <&clocks BCM2835_CLOCK_SDRAM>;
> +		};
> +
>  		timer@7e003000 {
>  			compatible = "brcm,bcm2835-system-timer";
>  			reg = <0x7e003000 0x1000>;
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] add minimal bcm2835-sdram driver kernel@martin.sperl.org - 2016-05-12 14:40 +0200
  [PATCH 3/4] ARM: dts: bcm2835: add the bcm2835-sdram-controller to the dt kernel@martin.sperl.org - 2016-05-12 14:40 +0200
    Re: [PATCH 3/4] ARM: dts: bcm2835: add the bcm2835-sdram-controller  to the dt Stefan Wahren <stefan.wahren@i2se.com> - 2016-05-12 17:00 +0200
      Re: [PATCH 3/4] ARM: dts: bcm2835: add the bcm2835-sdram-controller to the dt Martin Sperl <kernel@martin.sperl.org> - 2016-05-12 18:10 +0200
  [PATCH 1/4] dt: bindings: add bcm2835-memory-controller documentation kernel@martin.sperl.org - 2016-05-12 14:40 +0200
    Re: [PATCH 1/4] dt: bindings: add bcm2835-memory-controller  documentation Rob Herring <robh@kernel.org> - 2016-05-16 18:10 +0200
  [PATCH 2/4] memory: bcm2835: add bcm2835-memory controller kernel@martin.sperl.org - 2016-05-12 14:40 +0200
  [PATCH 4/4] ARM: bcm2835_defconfig: add bcm2835-sdram controller kernel@martin.sperl.org - 2016-05-12 14:40 +0200
  Re: [PATCH 0/4] add minimal bcm2835-sdram driver Stefan Wahren <stefan.wahren@i2se.com> - 2016-05-12 17:00 +0200
    Re: [PATCH 0/4] add minimal bcm2835-sdram driver Martin Sperl <kernel@martin.sperl.org> - 2016-05-12 17:30 +0200
      Re: [PATCH 0/4] add minimal bcm2835-sdram driver Stefan Wahren <stefan.wahren@i2se.com> - 2016-05-12 18:00 +0200
        Re: [PATCH 0/4] add minimal bcm2835-sdram driver Martin Sperl <kernel@martin.sperl.org> - 2016-05-12 18:10 +0200
  Re: [PATCH 0/4] add minimal bcm2835-sdram driver Eric Anholt <eric@anholt.net> - 2016-05-12 20:20 +0200
    Re: [PATCH 0/4] add minimal bcm2835-sdram driver Martin Sperl <kernel@martin.sperl.org> - 2016-05-12 21:50 +0200

csiph-web