Commit 1d6a332a authored by Tony Lindgren's avatar Tony Lindgren

ARM: dts: Add missing properties for omap4 control modules

On omap4, we are missing several ti,hwmods properties and IO
ranges for system control modules. These are needed by the SoC
interconnect code.

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.

In order to add these, we need to move omap4_pmx_wkup to be a
child of omap4_padconf_wkup.

On omap4 there are separate modules for control module and
control module pads. For control module core, we have this
already configured except for the missing ti,hwmods and reg
entries.

Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: default avatarRob Herring <robh+dt@kernel.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b0142a10
...@@ -21,6 +21,8 @@ Required properties: ...@@ -21,6 +21,8 @@ Required properties:
"ti,omap3-scm" "ti,omap3-scm"
"ti,omap4-scm-core" "ti,omap4-scm-core"
"ti,omap4-scm-padconf-core" "ti,omap4-scm-padconf-core"
"ti,omap4-scm-wkup"
"ti,omap4-scm-padconf-wkup"
"ti,omap5-scm-core" "ti,omap5-scm-core"
"ti,omap5-scm-padconf-core" "ti,omap5-scm-padconf-core"
"ti,dra7-scm-core" "ti,dra7-scm-core"
......
...@@ -174,6 +174,7 @@ omap4_scm_core: scm@2000 { ...@@ -174,6 +174,7 @@ omap4_scm_core: scm@2000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0x2000 0x1000>; ranges = <0 0x2000 0x1000>;
ti,hwmods = "ctrl_module_core";
scm_conf: scm_conf@0 { scm_conf: scm_conf@0 {
compatible = "syscon"; compatible = "syscon";
...@@ -186,9 +187,11 @@ scm_conf: scm_conf@0 { ...@@ -186,9 +187,11 @@ scm_conf: scm_conf@0 {
omap4_padconf_core: scm@100000 { omap4_padconf_core: scm@100000 {
compatible = "ti,omap4-scm-padconf-core", compatible = "ti,omap4-scm-padconf-core",
"simple-bus"; "simple-bus";
reg = <0x100000 0x1000>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0x100000 0x1000>; ranges = <0 0x100000 0x1000>;
ti,hwmods = "ctrl_module_pad_core";
omap4_pmx_core: pinmux@40 { omap4_pmx_core: pinmux@40 {
compatible = "ti,omap4-padconf", compatible = "ti,omap4-padconf",
...@@ -263,17 +266,33 @@ scrm_clockdomains: clockdomains { ...@@ -263,17 +266,33 @@ scrm_clockdomains: clockdomains {
}; };
}; };
omap4_pmx_wkup: pinmux@1e040 { omap4_scm_wkup: scm@c000 {
compatible = "ti,omap4-padconf", compatible = "ti,omap4-scm-wkup";
"pinctrl-single"; reg = <0xc000 0x1000>;
reg = <0x1e040 0x0038>; ti,hwmods = "ctrl_module_wkup";
};
omap4_padconf_wkup: padconf@1e000 {
compatible = "ti,omap4-scm-padconf-wkup",
"simple-bus";
reg = <0x1e000 0x1000>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <1>;
#pinctrl-cells = <1>; ranges = <0 0x1e000 0x1000>;
#interrupt-cells = <1>; ti,hwmods = "ctrl_module_pad_wkup";
interrupt-controller;
pinctrl-single,register-width = <16>; omap4_pmx_wkup: pinmux@40 {
pinctrl-single,function-mask = <0x7fff>; compatible = "ti,omap4-padconf",
"pinctrl-single";
reg = <0x40 0x0038>;
#address-cells = <1>;
#size-cells = <0>;
#pinctrl-cells = <1>;
#interrupt-cells = <1>;
interrupt-controller;
pinctrl-single,register-width = <16>;
pinctrl-single,function-mask = <0x7fff>;
};
}; };
}; };
}; };
......
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