]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed-palmetto: Add LPC control node
authorJoel Stanley <joel@jms.id.au>
Mon, 27 Aug 2018 23:15:19 +0000 (16:15 -0700)
committerJoel Stanley <joel@jms.id.au>
Sun, 2 Dec 2018 22:43:56 +0000 (09:13 +1030)
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>
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts

index e6cfdf3c1a676cd9894aa9053b91c55a5536d38d..9aa1d446745343f1c637d108ebf0c963367ce0cf 100644 (file)
@@ -31,6 +31,11 @@ coldfire_memory: codefire_memory@5ee00000 {
                        reg = <0x5ee00000 0x00200000>;
                        no-map;
                };
+
+               flash_memory: region@98000000 {
+                       no-map;
+                       reg = <0x98000000 0x01000000>; /* 16MB */
+               };
        };
 
        leds {
@@ -190,6 +195,12 @@ &ibt {
        status = "okay";
 };
 
+&lpc_ctrl {
+       status = "okay";
+       memory-region = <&flash_memory>;
+       flash = <&spi>;
+};
+
 &gpio {
        pin_func_mode0 {
                gpio-hog;