Commit ed8509ed authored by Tero Kristo's avatar Tero Kristo

ARM: dts: omap5: add minimal l4 bus layout with control module support

This patch creates the l4_cfg and l4_wkup interconnects for OMAP5, and
moves some of the generic peripherals under it. System control module
support is added to the device tree also, and the existing SCM related
functionality is moved under it.
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
parent efde2346
...@@ -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,omap5-scm-core"
"ti,omap5-scm-padconf-core"
- reg: Contains Control Module register address range - reg: Contains Control Module register address range
(base address and length) (base address and length)
......
...@@ -8,6 +8,8 @@ Required properties: ...@@ -8,6 +8,8 @@ Required properties:
Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus
Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus
Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus
Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus
Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus
Should be "ti,am3-l4-wkup" for AM33xx family l4 wkup bus Should be "ti,am3-l4-wkup" for AM33xx family l4 wkup bus
Should be "ti,am4-l4-wkup" for AM43xx family l4 wkup bus Should be "ti,am4-l4-wkup" for AM43xx family l4 wkup bus
- ranges : contains the IO map range for the bus - ranges : contains the IO map range for the bus
......
...@@ -129,49 +129,81 @@ ocp { ...@@ -129,49 +129,81 @@ ocp {
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
prm: prm@4ae06000 { l4_cfg: l4@4a000000 {
compatible = "ti,omap5-prm"; compatible = "ti,omap5-l4-cfg", "simple-bus";
reg = <0x4ae06000 0x3000>; #address-cells = <1>;
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; #size-cells = <1>;
ranges = <0 0x4a000000 0x22a000>;
prm_clocks: clocks { scm_core: scm@2000 {
compatible = "ti,omap5-scm-core", "simple-bus";
reg = <0x2000 0x1000>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <1>;
}; ranges = <0 0x2000 0x800>;
prm_clockdomains: clockdomains { scm_conf: scm_conf@0 {
compatible = "syscon";
reg = <0x0 0x800>;
#address-cells = <1>;
#size-cells = <1>;
}; };
}; };
cm_core_aon: cm_core_aon@4a004000 { scm_padconf_core: scm@2800 {
compatible = "ti,omap5-cm-core-aon"; compatible = "ti,omap5-scm-padconf-core",
reg = <0x4a004000 0x2000>; "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x2800 0x800>;
cm_core_aon_clocks: clocks { omap5_pmx_core: pinmux@40 {
compatible = "ti,omap5-padconf",
"pinctrl-single";
reg = <0x40 0x01b6>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
pinctrl-single,register-width = <16>;
pinctrl-single,function-mask = <0x7fff>;
}; };
cm_core_aon_clockdomains: clockdomains { omap5_padconf_global: omap5_padconf_global@5a0 {
compatible = "syscon";
reg = <0x5a0 0xec>;
#address-cells = <1>;
#size-cells = <1>;
pbias_regulator: pbias_regulator {
compatible = "ti,pbias-omap";
reg = <0x60 0x4>;
syscon = <&omap5_padconf_global>;
pbias_mmc_reg: pbias_mmc_omap5 {
regulator-name = "pbias_mmc_omap5";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3000000>;
};
};
}; };
}; };
scrm: scrm@4ae0a000 { cm_core_aon: cm_core_aon@4000 {
compatible = "ti,omap5-scrm"; compatible = "ti,omap5-cm-core-aon";
reg = <0x4ae0a000 0x2000>; reg = <0x4000 0x2000>;
scrm_clocks: clocks { cm_core_aon_clocks: clocks {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
}; };
scrm_clockdomains: clockdomains { cm_core_aon_clockdomains: clockdomains {
}; };
}; };
cm_core: cm_core@4a008000 { cm_core: cm_core@8000 {
compatible = "ti,omap5-cm-core"; compatible = "ti,omap5-cm-core";
reg = <0x4a008000 0x3000>; reg = <0x8000 0x3000>;
cm_core_clocks: clocks { cm_core_clocks: clocks {
#address-cells = <1>; #address-cells = <1>;
...@@ -181,47 +213,57 @@ cm_core_clocks: clocks { ...@@ -181,47 +213,57 @@ cm_core_clocks: clocks {
cm_core_clockdomains: clockdomains { cm_core_clockdomains: clockdomains {
}; };
}; };
};
l4_wkup: l4@4ae00000 {
compatible = "ti,omap5-l4-wkup", "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x4ae00000 0x2b000>;
counter32k: counter@4ae04000 { counter32k: counter@4000 {
compatible = "ti,omap-counter32k"; compatible = "ti,omap-counter32k";
reg = <0x4ae04000 0x40>; reg = <0x4000 0x40>;
ti,hwmods = "counter_32k"; ti,hwmods = "counter_32k";
}; };
omap5_pmx_core: pinmux@4a002840 { prm: prm@6000 {
compatible = "ti,omap5-padconf", "pinctrl-single"; compatible = "ti,omap5-prm";
reg = <0x4a002840 0x01b6>; reg = <0x6000 0x3000>;
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
prm_clocks: clocks {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
pinctrl-single,register-width = <16>;
pinctrl-single,function-mask = <0x7fff>;
}; };
omap5_pmx_wkup: pinmux@4ae0c840 {
compatible = "ti,omap5-padconf", "pinctrl-single"; prm_clockdomains: clockdomains {
reg = <0x4ae0c840 0x0038>; };
};
scrm: scrm@a000 {
compatible = "ti,omap5-scrm";
reg = <0xa000 0x2000>;
scrm_clocks: clocks {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
pinctrl-single,register-width = <16>;
pinctrl-single,function-mask = <0x7fff>;
}; };
omap5_padconf_global: tisyscon@4a002da0 { scrm_clockdomains: clockdomains {
compatible = "syscon"; };
reg = <0x4A002da0 0xec>;
}; };
pbias_regulator: pbias_regulator { omap5_pmx_wkup: pinmux@c840 {
compatible = "ti,pbias-omap"; compatible = "ti,omap5-padconf",
reg = <0x60 0x4>; "pinctrl-single";
syscon = <&omap5_padconf_global>; reg = <0xc840 0x0038>;
pbias_mmc_reg: pbias_mmc_omap5 { #address-cells = <1>;
regulator-name = "pbias_mmc_omap5"; #size-cells = <0>;
regulator-min-microvolt = <1800000>; #interrupt-cells = <1>;
regulator-max-microvolt = <3000000>; 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