All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cédric Le Goater" <clg@kaod.org>
To: openbmc@lists.ozlabs.org
Cc: "Joel Stanley" <joel@jms.id.au>,
	"Andrew Jeffery" <andrew@aj.id.au>,
	"Cédric Le Goater" <clg@kaod.org>
Subject: [PATCH linux dev-5.3 01/13] ARM: dts: aspeed-g6: Add FMC and SPI devices
Date: Wed, 25 Sep 2019 14:42:27 +0200	[thread overview]
Message-ID: <20190925124239.27897-2-clg@kaod.org> (raw)
In-Reply-To: <20190925124239.27897-1-clg@kaod.org>

Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 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@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@0 {
+				reg = < 0 >;
+				compatible = "jedec,spi-nor";
+				spi-max-frequency = <50000000>;
+				status = "disabled";
+			};
+			flash@1 {
+				reg = < 1 >;
+				compatible = "jedec,spi-nor";
+				spi-max-frequency = <50000000>;
+				status = "disabled";
+			};
+			flash@2 {
+				reg = < 2 >;
+				compatible = "jedec,spi-nor";
+				spi-max-frequency = <50000000>;
+				status = "disabled";
+			};
+		};
+
+		spi1: spi@1e630000 {
+			reg = < 0x1e630000 0xc4
+				0x30000000 0x10000000 >;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "aspeed,ast2600-spi";
+			clocks = <&syscon ASPEED_CLK_AHB>;
+			status = "disabled";
+			flash@0 {
+				reg = < 0 >;
+				compatible = "jedec,spi-nor";
+				spi-max-frequency = <50000000>;
+				status = "disabled";
+			};
+			flash@1 {
+				reg = < 1 >;
+				compatible = "jedec,spi-nor";
+				spi-max-frequency = <50000000>;
+				status = "disabled";
+			};
+		};
+
+		spi2: spi@1e631000 {
+			reg = < 0x1e631000 0xc4
+				0x50000000 0x10000000 >;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "aspeed,ast2600-spi";
+			clocks = <&syscon ASPEED_CLK_AHB>;
+			status = "disabled";
+			flash@0 {
+				reg = < 0 >;
+				compatible = "jedec,spi-nor";
+				spi-max-frequency = <50000000>;
+				status = "disabled";
+			};
+			flash@1 {
+				reg = < 1 >;
+				compatible = "jedec,spi-nor";
+				spi-max-frequency = <50000000>;
+				status = "disabled";
+			};
+			flash@2 {
+				reg = < 2 >;
+				compatible = "jedec,spi-nor";
+				spi-max-frequency = <50000000>;
+				status = "disabled";
+			};
+		};
+
 		mdio0: mdio@1e650000 {
 			compatible = "aspeed,ast2600-mdio";
 			reg = <0x1e650000 0x8>;
-- 
2.21.0

  reply	other threads:[~2019-09-25 12:58 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-25 12:42 [PATCH linux dev-5.3 00/13] mtd: spi-nor: aspeed: add support for ast2600 Cédric Le Goater
2019-09-25 12:42 ` Cédric Le Goater [this message]
2019-09-26  1:27   ` [PATCH linux dev-5.3 01/13] ARM: dts: aspeed-g6: Add FMC and SPI devices Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 02/13] ARM: dts: aspeed: rainier: Enable " Cédric Le Goater
2019-09-26  1:34   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 03/13] ARM: dts: aspeed: rainier: Enable MAC0 Cédric Le Goater
2019-09-26  1:19   ` Andrew Jeffery
2019-09-26  5:55     ` Cédric Le Goater
2019-09-25 12:42 ` [PATCH linux dev-5.3 04/13] ARM: dts: ast2600-evb: Enable FMC and SPI devices Cédric Le Goater
2019-09-26  1:38   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 05/13] mtd: spi-nor: Add support for w25q512jv Cédric Le Goater
2019-09-26  1:42   ` Andrew Jeffery
2019-09-26  3:53     ` Joel Stanley
2019-09-25 12:42 ` [PATCH linux dev-5.3 06/13] mtd: spi-nor: aspeed: Introduce a field for the AHB physical address Cédric Le Goater
2019-09-26  1:59   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 07/13] mtd: spi-nor: aspeed: Introduce segment operations Cédric Le Goater
2019-09-26  2:00   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 08/13] mtd: spi-nor: aspeed: add initial support for ast2600 Cédric Le Goater
2019-09-26  2:00   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 09/13] mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 Cédric Le Goater
2019-09-26  2:01   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 10/13] mtd: spi-nor: aspeed: Introduce training operations per platform Cédric Le Goater
2019-09-26  2:03   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 11/13] mtd: spi-nor: aspeed: Introduce a HCLK mask for training Cédric Le Goater
2019-09-26  2:10   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 12/13] mtd: spi-nor: aspeed: check upper freq limit when doing training Cédric Le Goater
2019-09-26  2:12   ` Andrew Jeffery
2019-09-25 12:42 ` [PATCH linux dev-5.3 13/13] mtd: spi-nor: aspeed: add support for AST2600 training Cédric Le Goater
2019-09-26  2:14   ` Andrew Jeffery
2019-09-26  6:59     ` Cédric Le Goater
2019-09-26  7:04       ` Joel Stanley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190925124239.27897-2-clg@kaod.org \
    --to=clg@kaod.org \
    --cc=andrew@aj.id.au \
    --cc=joel@jms.id.au \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.