From: Joel Stanley <joel@jms.id.au>
To: openbmc@lists.ozlabs.org,
Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>,
Andrew Jeffery <andrew@aj.id.au>
Cc: "Cédric Le Goater" <clg@kaod.org>
Subject: [PATCH u-boot v2019.04-aspeed-openbmc 08/11] ast2600: Add HACE to device tree
Date: Tue, 13 Apr 2021 17:37:52 +0930 [thread overview]
Message-ID: <20210413080755.73572-9-joel@jms.id.au> (raw)
In-Reply-To: <20210413080755.73572-1-joel@jms.id.au>
HACE is the Hash and Crypto Egine in the AST2600.
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
arch/arm/dts/ast2600-rainier.dts | 5 +++++
arch/arm/dts/ast2600-tacoma.dts | 5 +++++
arch/arm/dts/ast2600.dtsi | 9 +++++++++
arch/arm/dts/ast2600a1-evb.dts | 4 ++++
4 files changed, 23 insertions(+)
diff --git a/arch/arm/dts/ast2600-rainier.dts b/arch/arm/dts/ast2600-rainier.dts
index 67e177baf1bd..aae507b4c23d 100755
--- a/arch/arm/dts/ast2600-rainier.dts
+++ b/arch/arm/dts/ast2600-rainier.dts
@@ -103,3 +103,8 @@
pinctrl-0 = <&pinctrl_emmc_default>;
sdhci-drive-type = <1>;
};
+
+&hace {
+ u-boot,dm-pre-reloc;
+ status = "okay";
+};
diff --git a/arch/arm/dts/ast2600-tacoma.dts b/arch/arm/dts/ast2600-tacoma.dts
index 85d1e3902b11..c8ed5e35a74c 100755
--- a/arch/arm/dts/ast2600-tacoma.dts
+++ b/arch/arm/dts/ast2600-tacoma.dts
@@ -94,3 +94,8 @@
pinctrl-0 = <&pinctrl_emmc_default>;
sdhci-drive-type = <1>;
};
+
+&hace {
+ u-boot,dm-pre-reloc;
+ status = "okay";
+};
diff --git a/arch/arm/dts/ast2600.dtsi b/arch/arm/dts/ast2600.dtsi
index e619f7118886..57ea98a47b67 100644
--- a/arch/arm/dts/ast2600.dtsi
+++ b/arch/arm/dts/ast2600.dtsi
@@ -304,6 +304,15 @@
};
+ hace: hace@1e6d0000 {
+ compatible = "aspeed,ast2600-hace";
+ reg = <0x1e6d0000 0x200>;
+ interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&scu ASPEED_CLK_GATE_YCLK>;
+ clock-names = "yclk";
+ status = "disabled";
+ };
+
smp-memram@0 {
compatible = "aspeed,ast2600-smpmem", "syscon";
reg = <0x1e6e2180 0x40>;
diff --git a/arch/arm/dts/ast2600a1-evb.dts b/arch/arm/dts/ast2600a1-evb.dts
index 2827e00c0eb4..2ae6e3bdf192 100644
--- a/arch/arm/dts/ast2600a1-evb.dts
+++ b/arch/arm/dts/ast2600a1-evb.dts
@@ -301,3 +301,7 @@
&display_port {
status = "okay";
};
+
+&hace {
+ status = "okay";
+};
--
2.30.2
next prev parent reply other threads:[~2021-04-13 8:11 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-13 8:07 [PATCH u-boot v2019.04-aspeed-openbmc 00/11] Use HACE to Joel Stanley
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 01/11] aspeed: Build secboot only when enabled Joel Stanley
2021-04-13 12:28 ` Klaus Heinrich Kiwi
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 02/11] ast2600: Specify boot order Joel Stanley
2021-04-14 11:17 ` Klaus Heinrich Kiwi
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 03/11] ast2600: Configure emmc boot options Joel Stanley
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 04/11] ast2600: spl: Support common boot devices Joel Stanley
2021-04-13 12:31 ` Klaus Heinrich Kiwi
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 05/11] config: ast2600: Enable common eMMC SPL loader Joel Stanley
2021-04-13 20:47 ` Klaus Heinrich Kiwi
2021-04-13 23:48 ` Joel Stanley
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 06/11] image-fit: use hashing infra Joel Stanley
2021-04-13 12:38 ` Klaus Heinrich Kiwi
2021-04-13 23:49 ` Joel Stanley
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 07/11] hash: Allow for SHA512 hardware implementations Joel Stanley
2021-04-13 12:51 ` Klaus Heinrich Kiwi
2021-04-13 8:07 ` Joel Stanley [this message]
2021-04-13 20:43 ` [PATCH u-boot v2019.04-aspeed-openbmc 08/11] ast2600: Add HACE to device tree Klaus Heinrich Kiwi
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 09/11] clk: aspeed: Add HACE yclk to ast2600 Joel Stanley
2021-04-13 20:42 ` Klaus Heinrich Kiwi
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 10/11] crypto: Add driver for Aspeed HACE Joel Stanley
2021-04-13 20:41 ` Klaus Heinrich Kiwi
2021-04-14 20:28 ` Klaus Heinrich Kiwi
2021-04-15 2:32 ` Joel Stanley
2021-04-15 21:37 ` Klaus Heinrich Kiwi
2021-04-19 12:49 ` Joel Stanley
2021-04-19 12:58 ` Klaus Heinrich Kiwi
2021-04-13 8:07 ` [PATCH u-boot v2019.04-aspeed-openbmc 11/11] configs/openbmc: Enable hw accelerated sha Joel Stanley
2021-04-13 20:42 ` Klaus Heinrich Kiwi
2021-04-14 21:03 ` Klaus Heinrich Kiwi
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=20210413080755.73572-9-joel@jms.id.au \
--to=joel@jms.id.au \
--cc=andrew@aj.id.au \
--cc=clg@kaod.org \
--cc=klaus@linux.vnet.ibm.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).