Re: [PATCH linux dev-5.3 01/13] ARM: dts: aspeed-g6: Add FMC and SPI devices

Andrew Jeffery andrew at aj.id.au
Thu Sep 26 11:27:10 AEST 2019



On Wed, 25 Sep 2019, at 22:12, Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg at kaod.org>

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>

> ---
>  arch/arm/boot/dts/aspeed-g6.dtsi | 79 ++++++++++++++++++++++++++++++++
>  1 file changed, 79 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi
> index b4991cbe1f36..e8c335416da8 100644
> --- a/arch/arm/boot/dts/aspeed-g6.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g6.dtsi
> @@ -80,6 +80,85 @@
>  			    <0x40466000 0x2000>;
>  			};
>  
> +		fmc: spi at 1e620000 {
> +			reg = < 0x1e620000 0xc4
> +				0x20000000 0x10000000 >;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			compatible = "aspeed,ast2600-fmc";
> +			clocks = <&syscon ASPEED_CLK_AHB>;
> +			status = "disabled";
> +			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
> +			flash at 0 {
> +				reg = < 0 >;
> +				compatible = "jedec,spi-nor";
> +				spi-max-frequency = <50000000>;
> +				status = "disabled";
> +			};
> +			flash at 1 {
> +				reg = < 1 >;
> +				compatible = "jedec,spi-nor";
> +				spi-max-frequency = <50000000>;
> +				status = "disabled";
> +			};
> +			flash at 2 {
> +				reg = < 2 >;
> +				compatible = "jedec,spi-nor";
> +				spi-max-frequency = <50000000>;
> +				status = "disabled";
> +			};
> +		};
> +
> +		spi1: spi at 1e630000 {
> +			reg = < 0x1e630000 0xc4
> +				0x30000000 0x10000000 >;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			compatible = "aspeed,ast2600-spi";
> +			clocks = <&syscon ASPEED_CLK_AHB>;
> +			status = "disabled";
> +			flash at 0 {
> +				reg = < 0 >;
> +				compatible = "jedec,spi-nor";
> +				spi-max-frequency = <50000000>;
> +				status = "disabled";
> +			};
> +			flash at 1 {
> +				reg = < 1 >;
> +				compatible = "jedec,spi-nor";
> +				spi-max-frequency = <50000000>;
> +				status = "disabled";
> +			};
> +		};
> +
> +		spi2: spi at 1e631000 {
> +			reg = < 0x1e631000 0xc4
> +				0x50000000 0x10000000 >;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			compatible = "aspeed,ast2600-spi";
> +			clocks = <&syscon ASPEED_CLK_AHB>;
> +			status = "disabled";
> +			flash at 0 {
> +				reg = < 0 >;
> +				compatible = "jedec,spi-nor";
> +				spi-max-frequency = <50000000>;
> +				status = "disabled";
> +			};
> +			flash at 1 {
> +				reg = < 1 >;
> +				compatible = "jedec,spi-nor";
> +				spi-max-frequency = <50000000>;
> +				status = "disabled";
> +			};
> +			flash at 2 {
> +				reg = < 2 >;
> +				compatible = "jedec,spi-nor";
> +				spi-max-frequency = <50000000>;
> +				status = "disabled";
> +			};
> +		};
> +
>  		mdio0: mdio at 1e650000 {
>  			compatible = "aspeed,ast2600-mdio";
>  			reg = <0x1e650000 0x8>;
> -- 
> 2.21.0
> 
>


More information about the openbmc mailing list