ARM: dts: imx51: Add aipstz nodes
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 20 Jun 2018 18:06:19 +0000 (15:06 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 1 Jul 2018 03:02:16 +0000 (11:02 +0800)
Currently when trying to use the 'devmem' tool to read/write
registers the following bus error is observed:

[   82.689185] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6ff10c4
[   82.697071] pgd = (ptrval)
[   82.699920] [b6ff10c4] *pgd=a87c5831, *pte=73fa8383, *ppte=73fa8a33
Bus error

Add the aipstz nodes, so that the following function from
imx51_dt_init() can work properly:

imx_aips_allow_unprivileged_access("fsl,imx51-aipstz");

After adding these nodes, 'devmem' tool can work correctly,
which is very useful for debugging purposes.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51.dtsi

index 3f65492c6589af967500b433f9c73ea12b0016ca..d5ba31e3cd50bb53924a28eacb8ab8a274f798ad 100644 (file)
                                };
                        };
 
+                       aipstz1: bridge@73f00000 {
+                               compatible = "fsl,imx51-aipstz";
+                               reg = <0x73f00000 0x60>;
+                       };
+
                        usbotg: usb@73f80000 {
                                compatible = "fsl,imx51-usb", "fsl,imx27-usb";
                                reg = <0x73f80000 0x0200>;
                        reg = <0x80000000 0x10000000>;
                        ranges;
 
+                       aipstz2: bridge@83f00000 {
+                               compatible = "fsl,imx51-aipstz";
+                               reg = <0x83f00000 0x60>;
+                       };
+
                        iim: iim@83f98000 {
                                compatible = "fsl,imx51-iim", "fsl,imx27-iim";
                                reg = <0x83f98000 0x4000>;