ARM: dts: imx7d: move ARM platform peripherals inside soc node
Subsystems (2)
PATCH 1/2 ARM: dts: imx7d: move ARM platform peripherals inside soc node
Since we have a SoC level node we should make use of it and have all nodes which are within the SoC, inside that node. This also saves an extra interrupt-parent properties. While at it, also order the Coresight nodes according to register addresses.
---
Hi Shawn,
Not sure if there was a reasoning behind having all these nodes not within the soc subnode, but it seems to me somewhat uncommon in the i.MX world...
If possible this patchset should go into v4.8 since 2/2 is a fix, however, I understand that 1/2 is not really post rc1 material... What do you think?
--
Stefan
arch/arm/boot/dts/imx7d.dtsi | 32 ++--- arch/arm/boot/dts/imx7s.dtsi | 301 +++++++++++++++++++++---------------------- 2 files changed, 167 insertions(+), 166 deletions(-)
arch/arm/boot/dts/imx7d.dtsi +17 -15
@@ -52,23 +52,25 @@ }; }; - etm at 3007d000 { - compatible = "arm,coresight-etm3x", "arm,primecell"; - reg = <0x3007d000 0x1000>; + soc { + etm at 3007d000 { + compatible = "arm,coresight-etm3x", "arm,primecell"; + reg = <0x3007d000 0x1000>; - /* - * System will hang if added nosmp in kernel command line - * without arm,primecell-periphid because amba bus try to - * read id and core1 power off at this time. - */ - arm,primecell-periphid = <0xbb956>; - cpu = <&cpu1>; - clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; - clock-names = "apb_pclk"; + /* + * System will hang if added nosmp in kernel command line + * without arm,primecell-periphid because amba bus try to + * read id and core1 power off at this time. + */ + arm,primecell-periphid = <0xbb956>; + cpu = <&cpu1>; + clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; + clock-names = "apb_pclk"; - port { - etm1_out_port: endpoint { - remote-endpoint = <&ca_funnel_in_port1>; + port { + etm1_out_port: endpoint { + remote-endpoint = <&ca_funnel_in_port1>; + }; }; }; };
arch/arm/boot/dts/imx7s.dtsi +150 -151
361 lines not on this page · raw message
Signature · 1 line
2.9.0
PATCH 2/2 ARM: dts: imx7d: fix GIC nodes interrupt and register specification
The i.MX 7 as a GICv2, hence its CPU interface register map (the second register region) is 8kB long. Add the VGIC maintenance interrupt which allows to use the new VGIC driver.
--- arch/arm/boot/dts/imx7s.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx7s.dtsi +2 -1
@@ -292,10 +292,11 @@ intc: interrupt-controller at 31001000 { compatible = "arm,cortex-a7-gic"; + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; #interrupt-cells = <3>; interrupt-controller; reg = <0x31001000 0x1000>, - <0x31002000 0x1000>, + <0x31002000 0x2000>, <0x31004000 0x2000>, <0x31006000 0x2000>; };
Signature · 1 line
2.9.0
Shawn Guo
AppliedQuoted 6 lines · Stefan Agner
Since we have a SoC level node we should make use of it and have all nodes which are within the SoC, inside that node. This also saves an extra interrupt-parent properties. While at it, also order the Coresight nodes according to register addresses.
Signed-off-by Stefan Agner <[email protected]>
Applied both, thanks.