dts: nxp_kinetis: Add spi bindings for kinetis dspi and update soc nodes
Adds dts spi bindings for the kinetis dspi controller, and updates the k64, kw2xd, kw40z, kw41z dts nodes accordingly. Updates the dts interrupt priorities to match the board defconfigs (e.g., boards/arm/frdm_k64f/Kconfig.defconfig) For k64, fixes an error in the spi1 interrupt number and adds a third instance (spi2). Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
d749feb698
commit
d2d4cea02d
5 changed files with 76 additions and 16 deletions
|
@ -285,9 +285,10 @@
|
|||
};
|
||||
|
||||
spi0: spi@4002c000 {
|
||||
compatible = "nxp,k64f-spi";
|
||||
compatible = "nxp,kinetis-dspi";
|
||||
reg = <0x4002c000 0x88>;
|
||||
interrupts = <26 0>;
|
||||
interrupts = <26 3>;
|
||||
label = "SPI_0";
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x103C 12>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
@ -298,15 +299,27 @@
|
|||
};
|
||||
|
||||
spi1: spi@4002d000 {
|
||||
compatible = "nxp,k64f-spi";
|
||||
compatible = "nxp,kinetis-dspi";
|
||||
reg = <0x4002d000 0x88>;
|
||||
interrupts = <0 0>;
|
||||
interrupts = <27 3>;
|
||||
label = "SPI_1";
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x103C 13>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
spi2: spi@400ac000 {
|
||||
compatible = "nxp,kinetis-dspi";
|
||||
reg = <0x400ac000 0x88>;
|
||||
interrupts = <65 3>;
|
||||
label = "SPI_2";
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1030 12>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
wdog: watchdog@40052000 {
|
||||
compatible = "nxp,k64f-watchdog";
|
||||
reg = <0x40052000 16>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue