diff options
author | Joel Stanley <joel@jms.id.au> | 2018-08-27 16:15:19 -0700 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-12-03 09:13:56 +1030 |
commit | 39cc9f037ca5ed417db29a57445e61a454216f49 (patch) | |
tree | 781d270036c218f18ce227f77eb6536d39398657 | |
parent | fad06e25b04b1090c21b2be4343cf7ee07f02ab5 (diff) | |
download | lwn-39cc9f037ca5ed417db29a57445e61a454216f49.tar.gz lwn-39cc9f037ca5ed417db29a57445e61a454216f49.zip |
ARM: dts: aspeed-palmetto: Add LPC control node
This adds the required LPC node with phandles to the reserved memory
region and the mtd device.
Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts index e6cfdf3c1a67..9aa1d4467453 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts @@ -31,6 +31,11 @@ reg = <0x5ee00000 0x00200000>; no-map; }; + + flash_memory: region@98000000 { + no-map; + reg = <0x98000000 0x01000000>; /* 16MB */ + }; }; leds { @@ -190,6 +195,12 @@ status = "okay"; }; +&lpc_ctrl { + status = "okay"; + memory-region = <&flash_memory>; + flash = <&spi>; +}; + &gpio { pin_func_mode0 { gpio-hog; |