Commit 6cef60ff authored by Horia Geantă's avatar Horia Geantă Committed by Shawn Guo

ARM: dts: imx: align name for crypto node and child nodes

crypto node should use the "crypto" generic naming,
and not a specific one ("sahara", "dcp", "caam").

Child nodes of the crypto node for caam crypto engine
should use the "jr" name (without an index),
as indicated in the DT binding.
Signed-off-by: default avatarHoria Geantă <horia.geanta@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent d2cf2f91
...@@ -422,7 +422,7 @@ dma_apbx: dma-apbx@80024000 { ...@@ -422,7 +422,7 @@ dma_apbx: dma-apbx@80024000 {
clocks = <&clks 16>; clocks = <&clks 16>;
}; };
dcp@80028000 { dcp: crypto@80028000 {
compatible = "fsl,imx23-dcp"; compatible = "fsl,imx23-dcp";
reg = <0x80028000 0x2000>; reg = <0x80028000 0x2000>;
interrupts = <53 54>; interrupts = <53 54>;
......
...@@ -525,7 +525,7 @@ usbmisc: usbmisc@10024600 { ...@@ -525,7 +525,7 @@ usbmisc: usbmisc@10024600 {
reg = <0x10024600 0x200>; reg = <0x10024600 0x200>;
}; };
sahara2: sahara@10025000 { sahara2: crypto@10025000 {
compatible = "fsl,imx27-sahara"; compatible = "fsl,imx27-sahara";
reg = <0x10025000 0x1000>; reg = <0x10025000 0x1000>;
interrupts = <59>; interrupts = <59>;
......
...@@ -998,7 +998,7 @@ dma_apbx: dma-apbx@80024000 { ...@@ -998,7 +998,7 @@ dma_apbx: dma-apbx@80024000 {
clocks = <&clks 26>; clocks = <&clks 26>;
}; };
dcp: dcp@80028000 { dcp: crypto@80028000 {
compatible = "fsl,imx28-dcp", "fsl,imx23-dcp"; compatible = "fsl,imx28-dcp", "fsl,imx23-dcp";
reg = <0x80028000 0x2000>; reg = <0x80028000 0x2000>;
interrupts = <52 53 54>; interrupts = <52 53 54>;
......
...@@ -942,7 +942,7 @@ bus@2100000 { /* AIPS2 */ ...@@ -942,7 +942,7 @@ bus@2100000 { /* AIPS2 */
reg = <0x02100000 0x100000>; reg = <0x02100000 0x100000>;
ranges; ranges;
crypto: caam@2100000 { crypto: crypto@2100000 {
compatible = "fsl,sec-v4.0"; compatible = "fsl,sec-v4.0";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -954,13 +954,13 @@ crypto: caam@2100000 { ...@@ -954,13 +954,13 @@ crypto: caam@2100000 {
<&clks IMX6QDL_CLK_EIM_SLOW>; <&clks IMX6QDL_CLK_EIM_SLOW>;
clock-names = "mem", "aclk", "ipg", "emi_slow"; clock-names = "mem", "aclk", "ipg", "emi_slow";
sec_jr0: jr0@1000 { sec_jr0: jr@1000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x1000 0x1000>; reg = <0x1000 0x1000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
}; };
sec_jr1: jr1@2000 { sec_jr1: jr@2000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x2000 0x1000>; reg = <0x2000 0x1000>;
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -777,7 +777,7 @@ lcdif: lcdif@20f8000 { ...@@ -777,7 +777,7 @@ lcdif: lcdif@20f8000 {
power-domains = <&pd_disp>; power-domains = <&pd_disp>;
}; };
dcp: dcp@20fc000 { dcp: crypto@20fc000 {
compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp"; compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp";
reg = <0x020fc000 0x4000>; reg = <0x020fc000 0x4000>;
interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>, interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>,
......
...@@ -652,7 +652,7 @@ lcdif: lcd-controller@20f8000 { ...@@ -652,7 +652,7 @@ lcdif: lcd-controller@20f8000 {
status = "disabled"; status = "disabled";
}; };
dcp: dcp@20fc000 { dcp: crypto@20fc000 {
compatible = "fsl,imx28-dcp"; compatible = "fsl,imx28-dcp";
reg = <0x020fc000 0x4000>; reg = <0x020fc000 0x4000>;
interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
......
...@@ -837,7 +837,7 @@ aips2: bus@2100000 { ...@@ -837,7 +837,7 @@ aips2: bus@2100000 {
reg = <0x02100000 0x100000>; reg = <0x02100000 0x100000>;
ranges; ranges;
crypto: caam@2100000 { crypto: crypto@2100000 {
compatible = "fsl,sec-v4.0"; compatible = "fsl,sec-v4.0";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -850,13 +850,13 @@ crypto: caam@2100000 { ...@@ -850,13 +850,13 @@ crypto: caam@2100000 {
<&clks IMX6SX_CLK_EIM_SLOW>; <&clks IMX6SX_CLK_EIM_SLOW>;
clock-names = "mem", "aclk", "ipg", "emi_slow"; clock-names = "mem", "aclk", "ipg", "emi_slow";
sec_jr0: jr0@1000 { sec_jr0: jr@1000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x1000 0x1000>; reg = <0x1000 0x1000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
}; };
sec_jr1: jr1@2000 { sec_jr1: jr@2000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x2000 0x1000>; reg = <0x2000 0x1000>;
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -778,7 +778,7 @@ aips2: bus@2100000 { ...@@ -778,7 +778,7 @@ aips2: bus@2100000 {
reg = <0x02100000 0x100000>; reg = <0x02100000 0x100000>;
ranges; ranges;
crypto: caam@2140000 { crypto: crypto@2140000 {
compatible = "fsl,imx6ul-caam", "fsl,sec-v4.0"; compatible = "fsl,imx6ul-caam", "fsl,sec-v4.0";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -789,19 +789,19 @@ crypto: caam@2140000 { ...@@ -789,19 +789,19 @@ crypto: caam@2140000 {
<&clks IMX6UL_CLK_CAAM_MEM>; <&clks IMX6UL_CLK_CAAM_MEM>;
clock-names = "ipg", "aclk", "mem"; clock-names = "ipg", "aclk", "mem";
sec_jr0: jr0@1000 { sec_jr0: jr@1000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x1000 0x1000>; reg = <0x1000 0x1000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
}; };
sec_jr1: jr1@2000 { sec_jr1: jr@2000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x2000 0x1000>; reg = <0x2000 0x1000>;
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
}; };
sec_jr2: jr2@3000 { sec_jr2: jr@3000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x3000 0x1000>; reg = <0x3000 0x1000>;
interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -934,7 +934,7 @@ sai3: sai@308c0000 { ...@@ -934,7 +934,7 @@ sai3: sai@308c0000 {
}; };
}; };
crypto: caam@30900000 { crypto: crypto@30900000 {
compatible = "fsl,sec-v4.0"; compatible = "fsl,sec-v4.0";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -945,19 +945,19 @@ crypto: caam@30900000 { ...@@ -945,19 +945,19 @@ crypto: caam@30900000 {
<&clks IMX7D_AHB_CHANNEL_ROOT_CLK>; <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
clock-names = "ipg", "aclk"; clock-names = "ipg", "aclk";
sec_jr0: jr0@1000 { sec_jr0: jr@1000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x1000 0x1000>; reg = <0x1000 0x1000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
}; };
sec_jr1: jr1@2000 { sec_jr1: jr@2000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x2000 0x1000>; reg = <0x2000 0x1000>;
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
}; };
sec_jr2: jr1@3000 { sec_jr2: jr@3000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x3000 0x1000>; reg = <0x3000 0x1000>;
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -132,13 +132,13 @@ crypto: crypto@40240000 { ...@@ -132,13 +132,13 @@ crypto: crypto@40240000 {
<&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>; <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>;
clock-names = "aclk", "ipg"; clock-names = "aclk", "ipg";
sec_jr0: jr0@1000 { sec_jr0: jr@1000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x1000 0x1000>; reg = <0x1000 0x1000>;
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
}; };
sec_jr1: jr1@2000 { sec_jr1: jr@2000 {
compatible = "fsl,sec-v4.0-job-ring"; compatible = "fsl,sec-v4.0-job-ring";
reg = <0x2000 0x1000>; reg = <0x2000 0x1000>;
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment