Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339880
b: refs/heads/master
c: 510c0ff
h: refs/heads/master
v: v3
  • Loading branch information
Jon Hunter authored and Benoit Cousson committed Oct 29, 2012
1 parent b44be08 commit 5874c97
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fab8ad0b2b5f2b6d25c6020a61bf3339e53fec61
refs/heads/master: 510c0ffdd408ced2654f073d0397f0fec410a235
15 changes: 15 additions & 0 deletions trunk/Documentation/devicetree/bindings/arm/omap/counter.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
OMAP Counter-32K bindings

Required properties:
- compatible: Must be "ti,omap-counter32k" for OMAP controllers
- reg: Contains timer register address range (base address and length)
- ti,hwmods: Name of the hwmod associated to the counter, which is typically
"counter_32k"

Example:

counter32k: counter@4a304000 {
compatible = "ti,omap-counter32k";
reg = <0x4a304000 0x20>;
ti,hwmods = "counter_32k";
};
6 changes: 6 additions & 0 deletions trunk/arch/arm/boot/dts/omap2420.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
compatible = "ti,omap2420", "ti,omap2";

ocp {
counter32k: counter@48004000 {
compatible = "ti,omap-counter32k";
reg = <0x48004000 0x20>;
ti,hwmods = "counter_32k";
};

omap2420_pmx: pinmux@48000030 {
compatible = "ti,omap2420-padconf", "pinctrl-single";
reg = <0x48000030 0x0113>;
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/boot/dts/omap2430.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
compatible = "ti,omap2430", "ti,omap2";

ocp {
counter32k: counter@49020000 {
compatible = "ti,omap-counter32k";
reg = <0x49020000 0x20>;
ti,hwmods = "counter_32k";
};

omap2430_pmx: pinmux@49002030 {
compatible = "ti,omap2430-padconf", "pinctrl-single";
reg = <0x49002030 0x0154>;
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/boot/dts/omap3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
ranges;
ti,hwmods = "l3_main";

counter32k: counter@48320000 {
compatible = "ti,omap-counter32k";
reg = <0x48320000 0x20>;
ti,hwmods = "counter_32k";
};

intc: interrupt-controller@48200000 {
compatible = "ti,omap2-intc";
interrupt-controller;
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/boot/dts/omap4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
ranges;
ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";

counter32k: counter@4a304000 {
compatible = "ti,omap-counter32k";
reg = <0x4a304000 0x20>;
ti,hwmods = "counter_32k";
};

omap4_pmx_core: pinmux@4a100040 {
compatible = "ti,omap4-padconf", "pinctrl-single";
reg = <0x4a100040 0x0196>;
Expand Down

0 comments on commit 5874c97

Please sign in to comment.