提交 cd7cd5b7 编写于 作者: S Sebastian Reichel 提交者: Greg Kroah-Hartman

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: NSebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20210802172309.164365-3-sebastian.reichel@collabora.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f9d8f4b3
...@@ -70,6 +70,12 @@ ...@@ -70,6 +70,12 @@
clock-frequency = <11289600>; clock-frequency = <11289600>;
}; };
achc_24M: achc-clock {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24000000>;
};
sgtlsound: sound { sgtlsound: sound {
compatible = "fsl,imx53-cpuvo-sgtl5000", compatible = "fsl,imx53-cpuvo-sgtl5000",
"fsl,imx-audio-sgtl5000"; "fsl,imx-audio-sgtl5000";
...@@ -314,16 +320,13 @@ ...@@ -314,16 +320,13 @@
&gpio4 12 GPIO_ACTIVE_LOW>; &gpio4 12 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
spidev0: spi@0 { spidev0: spi@1 {
compatible = "ge,achc"; compatible = "ge,achc", "nxp,kinetis-k20";
reg = <0>; reg = <1>, <0>;
spi-max-frequency = <1000000>; vdd-supply = <&reg_3v3>;
}; vdda-supply = <&reg_3v3>;
clocks = <&achc_24M>;
spidev1: spi@1 { reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
compatible = "ge,achc";
reg = <1>;
spi-max-frequency = <1000000>;
}; };
gpioxra0: gpio@2 { gpioxra0: gpio@2 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册