[PATCH 18/29] ARM: orion5x: add Device Bus description at SoC level

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Mon Apr 14 03:47:25 PDT 2014


On 04/13/2014 04:39 PM, Thomas Petazzoni wrote:
> This commit adds the necessary SoC-level Device Tree definitions to
> describe the Device Bus of Orion5x SOCs. The Device Bus is mainly used
> to connect NOR flashes to the system.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>   arch/arm/boot/dts/orion5x.dtsi | 40 ++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 40 insertions(+)
>
> diff --git a/arch/arm/boot/dts/orion5x.dtsi b/arch/arm/boot/dts/orion5x.dtsi
> index ea6ec83..182682b 100644
> --- a/arch/arm/boot/dts/orion5x.dtsi
> +++ b/arch/arm/boot/dts/orion5x.dtsi
> @@ -24,6 +24,46 @@
>   		#size-cells = <1>;
>   		controller = <&mbusc>;
>
> +		devbus-bootcs {

To be consitent, please add node labels for this and below nodes.

Otherwise,

Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>

> +			compatible = "marvell,orion-devbus";
> +			reg = <MBUS_ID(0xf0, 0x01) 0x1046C 0x4>;
> +			ranges = <0 MBUS_ID(0x01, 0x0f) 0 0xffffffff>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			clocks = <&core_clk 0>;
> +			status = "disabled";
> +		};
> +
> +		devbus-cs0 {
> +			compatible = "marvell,orion-devbus";
> +			reg = <MBUS_ID(0xf0, 0x01) 0x1045C 0x4>;
> +			ranges = <0 MBUS_ID(0x01, 0x1e) 0 0xffffffff>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			clocks = <&core_clk 0>;
> +			status = "disabled";
> +		};
> +
> +		devbus-cs1 {
> +			compatible = "marvell,orion-devbus";
> +			reg = <MBUS_ID(0xf0, 0x01) 0x10460 0x4>;
> +			ranges = <0 MBUS_ID(0x01, 0x1d) 0 0xffffffff>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			clocks = <&core_clk 0>;
> +			status = "disabled";
> +		};
> +
> +		devbus-cs2 {
> +			compatible = "marvell,orion-devbus";
> +			reg = <MBUS_ID(0xf0, 0x01) 0x10464 0x4>;
> +			ranges = <0 MBUS_ID(0x01, 0x1b) 0 0xffffffff>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			clocks = <&core_clk 0>;
> +			status = "disabled";
> +		};
> +
>   		internal-regs {
>   			compatible = "simple-bus";
>   			#address-cells = <1>;
>




More information about the linux-arm-kernel mailing list