Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx53-ppd: Fix ACHC entry

PPD has only one ACHC device, which effectively is a Kinetis
microcontroller. It has one SPI interface used for normal
communication. Additionally it's possible to flash the device
firmware using NXP's EzPort protocol by correctly driving a
second chip select pin and the device reset pin.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20210802172309.164365-3-sebastian.reichel@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sebastian Reichel and committed by
Greg Kroah-Hartman
cd7cd5b7 f9d8f4b3

+13 -10
+13 -10
arch/arm/boot/dts/imx53-ppd.dts
··· 70 70 clock-frequency = <11289600>; 71 71 }; 72 72 73 + achc_24M: achc-clock { 74 + compatible = "fixed-clock"; 75 + #clock-cells = <0>; 76 + clock-frequency = <24000000>; 77 + }; 78 + 73 79 sgtlsound: sound { 74 80 compatible = "fsl,imx53-cpuvo-sgtl5000", 75 81 "fsl,imx-audio-sgtl5000"; ··· 320 314 &gpio4 12 GPIO_ACTIVE_LOW>; 321 315 status = "okay"; 322 316 323 - spidev0: spi@0 { 324 - compatible = "ge,achc"; 325 - reg = <0>; 326 - spi-max-frequency = <1000000>; 327 - }; 328 - 329 - spidev1: spi@1 { 330 - compatible = "ge,achc"; 331 - reg = <1>; 332 - spi-max-frequency = <1000000>; 317 + spidev0: spi@1 { 318 + compatible = "ge,achc", "nxp,kinetis-k20"; 319 + reg = <1>, <0>; 320 + vdd-supply = <&reg_3v3>; 321 + vdda-supply = <&reg_3v3>; 322 + clocks = <&achc_24M>; 323 + reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; 333 324 }; 334 325 335 326 gpioxra0: gpio@2 {