diff options
author | Peter Yin <peteryin.openbmc@gmail.com> | 2024-08-01 18:01:34 +0200 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2024-08-22 05:39:43 +0200 |
commit | 7fa11184852f6a8d690d21f60540b8de499f8bb0 (patch) | |
tree | 5efa18a2ddbb564d3ea6dff33507b51b99e017e9 /arch/arm | |
parent | ARM: dts: aspeed: harma: Enable mctp controller (diff) | |
download | linux-7fa11184852f6a8d690d21f60540b8de499f8bb0.tar.xz linux-7fa11184852f6a8d690d21f60540b8de499f8bb0.zip |
ARM: dts: aspeed: harma: Fix spi-gpio dtb_check warnings
Revise spi-gpio node and property name and remove max-ngpios.
Signed-off-by: Peter Yin <peteryin.openbmc@gmail.com>
Link: https://lore.kernel.org/r/20240801160136.1281291-11-peteryin.openbmc@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 0dd0566bbf27..4421822eb134 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -70,19 +70,19 @@ }; }; - spi_gpio: spi-gpio { + spi_gpio: spi { status = "okay"; compatible = "spi-gpio"; #address-cells = <1>; #size-cells = <0>; - gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; - gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; - gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; + sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; + miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; num-chipselects = <1>; cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; - tpmdev@0 { + tpm@0 { compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; spi-max-frequency = <33000000>; reg = <0>; @@ -640,7 +640,6 @@ &sgpiom0 { status = "okay"; - max-ngpios = <128>; ngpios = <128>; bus-frequency = <2000000>; gpio-line-names = |