ARM: dts: aspeed: tacoma: Add GPIOs for FSI
authorJoel Stanley <joel@jms.id.au>
Tue, 24 Mar 2020 06:01:06 +0000 (16:31 +1030)
committerJoel Stanley <joel@jms.id.au>
Tue, 5 May 2020 07:07:16 +0000 (16:37 +0930)
GPIO Q7 is no longer used for air/water. It is repurposed on Tacoma to
indicate internal FSI (low) vs cabled (high).

GPIO B0 controls the muxing of FSI to the cable (low) or internal pins
(high).

Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts

index a972c20af3edd8ee7d93d3823492ba5a68f1eb92..2619dd6e40fc9a04d4795c1ae3189f3af48e6557 100644 (file)
        gpio-keys {
                compatible = "gpio-keys";
 
-               air-water {
-                       label = "air-water";
-                       gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
-                       linux,code = <ASPEED_GPIO(Q, 7)>;
-               };
-
                checkstop {
                        label = "checkstop";
                        gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>;
        #address-cells = <2>;
        #size-cells = <0>;
 
+       fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
+       fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
+
        cfam@0,0 {
                reg = <0 0>;
                #address-cells = <1>;