aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2017-08-30 16:25:20 -0400
committerTony Lindgren <tony@atomide.com>2017-09-19 13:26:43 -0400
commit8be8576fcf2d90a8bc679bfb25a4121d0eebe0de (patch)
treef98fcc7d94fd12cae504bc17771784e2bc071414
parentd6e1a2381694c9a15f5a2ea9877fd20017470e95 (diff)
ARM: dts: Add missing hsi node for omap4
On omap4 we're missing the hsi node with it's related "ti,hwmods" property that the SoC interconnect code needs. Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed. Let's also update the binding accrodingly while at it. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Rob Herring <robh+dt@kernel.org> Reviewed-by: Sebastian Reichel <sre@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--Documentation/devicetree/bindings/hsi/omap-ssi.txt13
-rw-r--r--arch/arm/boot/dts/omap4.dtsi34
2 files changed, 44 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/hsi/omap-ssi.txt b/Documentation/devicetree/bindings/hsi/omap-ssi.txt
index b8eca3c7810d..955e335e7e56 100644
--- a/Documentation/devicetree/bindings/hsi/omap-ssi.txt
+++ b/Documentation/devicetree/bindings/hsi/omap-ssi.txt
@@ -1,10 +1,12 @@
1OMAP SSI controller bindings 1OMAP SSI controller bindings
2 2
3OMAP Synchronous Serial Interface (SSI) controller implements a legacy 3OMAP3's Synchronous Serial Interface (SSI) controller implements a
4variant of MIPI's High Speed Synchronous Serial Interface (HSI). 4legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI),
5while the controller found inside OMAP4 is supposed to be fully compliant
6with the HSI standard.
5 7
6Required properties: 8Required properties:
7- compatible: Should include "ti,omap3-ssi". 9- compatible: Should include "ti,omap3-ssi" or "ti,omap4-hsi"
8- reg-names: Contains the values "sys" and "gdd" (in this order). 10- reg-names: Contains the values "sys" and "gdd" (in this order).
9- reg: Contains a matching register specifier for each entry 11- reg: Contains a matching register specifier for each entry
10 in reg-names. 12 in reg-names.
@@ -27,6 +29,7 @@ Each port is represented as a sub-node of the ti,omap3-ssi device.
27Required Port sub-node properties: 29Required Port sub-node properties:
28- compatible: Should be set to the following value 30- compatible: Should be set to the following value
29 ti,omap3-ssi-port (applicable to OMAP34xx devices) 31 ti,omap3-ssi-port (applicable to OMAP34xx devices)
32 ti,omap4-hsi-port (applicable to OMAP44xx devices)
30- reg-names: Contains the values "tx" and "rx" (in this order). 33- reg-names: Contains the values "tx" and "rx" (in this order).
31- reg: Contains a matching register specifier for each entry 34- reg: Contains a matching register specifier for each entry
32 in reg-names. 35 in reg-names.
@@ -38,6 +41,10 @@ Required Port sub-node properties:
38 property. If it's missing the port will not be 41 property. If it's missing the port will not be
39 enabled. 42 enabled.
40 43
44Optional properties:
45- ti,hwmods: Shall contain TI interconnect module name if needed
46 by the SoC
47
41Example for Nokia N900: 48Example for Nokia N900:
42 49
43ssi-controller@48058000 { 50ssi-controller@48058000 {
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index 69d129b420e0..a3c4d3541e3d 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -624,6 +624,40 @@
624 dma-names = "tx", "rx"; 624 dma-names = "tx", "rx";
625 }; 625 };
626 626
627 hsi: hsi@4a058000 {
628 compatible = "ti,omap4-hsi";
629 reg = <0x4a058000 0x4000>,
630 <0x4a05c000 0x1000>;
631 reg-names = "sys", "gdd";
632 ti,hwmods = "hsi";
633
634 clocks = <&hsi_fck>;
635 clock-names = "hsi_fck";
636
637 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
638 interrupt-names = "gdd_mpu";
639
640 #address-cells = <1>;
641 #size-cells = <1>;
642 ranges = <0 0x4a058000 0x4000>;
643
644 hsi_port1: hsi-port@2000 {
645 compatible = "ti,omap4-hsi-port";
646 reg = <0x2000 0x800>,
647 <0x2800 0x800>;
648 reg-names = "tx", "rx";
649 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
650 };
651
652 hsi_port2: hsi-port@3000 {
653 compatible = "ti,omap4-hsi-port";
654 reg = <0x3000 0x800>,
655 <0x3800 0x800>;
656 reg-names = "tx", "rx";
657 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
658 };
659 };
660
627 mmu_dsp: mmu@4a066000 { 661 mmu_dsp: mmu@4a066000 {
628 compatible = "ti,omap4-iommu"; 662 compatible = "ti,omap4-iommu";
629 reg = <0x4a066000 0x100>; 663 reg = <0x4a066000 0x100>;