]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: aspeed: Palmetto system can use coprocessor for FSI
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Jul 2018 04:24:04 +0000 (14:24 +1000)
committerJoel Stanley <joel@jms.id.au>
Sun, 2 Dec 2018 22:43:52 +0000 (09:13 +1030)
This allows userspace to switch away from bitbanging to use kernel
FSI with the coprocessor.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts

index c7084a819dc69cc1a87e800fb3a4546c21fb95f1..e6cfdf3c1a676cd9894aa9053b91c55a5536d38d 100644 (file)
                        no-map;
                        reg = <0x5f000000 0x01000000>; /* 16M */
                };
+
+               coldfire_memory: codefire_memory@5ee00000 {
+                       reg = <0x5ee00000 0x00200000>;
+                       no-map;
+               };
        };
 
        leds {
                };
        };
 
+       fsi: gpio-fsi {
+               compatible = "aspeed,ast2400-cf-fsi-master", "fsi-master";
+               #address-cells = <2>;
+               #size-cells = <0>;
+
+               memory-region = <&coldfire_memory>;
+               aspeed,sram = <&sram>;
+               aspeed,cvic = <&cvic>;
+
+               clock-gpios = <&gpio ASPEED_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
+               data-gpios = <&gpio ASPEED_GPIO(A, 5) GPIO_ACTIVE_HIGH>;
+               mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
+               enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
+               trans-gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
 
                line-name = "SYS_PWROK_BMC";
        };
 
-       pin_gpio_h6 {
-               gpio-hog;
-               gpios = <ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
-               output-high;
-               line-name = "SCM1_FSI0_DATA_EN";
-       };
-
        pin_gpio_h7 {
                gpio-hog;
                gpios = <ASPEED_GPIO(H, 7) GPIO_ACTIVE_HIGH>;