diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-03-24 11:49:25 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-04-08 21:42:11 +0200 |
commit | 119fd635e383c1a58990e5805acc29f48ed3e360 (patch) | |
tree | 91595c46243cb8e4033a2476a40b5655b69a2130 /Documentation/devicetree/bindings/timer/allwinner,sun4i-timer.txt | |
parent | ea71d9a600e769ca669f4ba3e25ffdecdeede240 (diff) | |
download | blackbird-op-linux-119fd635e383c1a58990e5805acc29f48ed3e360.tar.gz blackbird-op-linux-119fd635e383c1a58990e5805acc29f48ed3e360.zip |
clocksource: sunxi: Rename sunxi to sun4i
During the introduction of the Allwinner SoC platforms, sunxi was
initially meant as a generic name for all the variants of the Allwinner
SoC.
It was ok at the time of the support of only the A10 and A13 that
looks pretty much the same, but it's beginning to be troublesome with
the future addition of the Allwinner A31 (sun6i) that is quite
different, and would introduce some weird logic, where sunxi would
actually mean in some case sun4i and sun5i but without sun6i...
Moreover, it makes the compatible strings naming scheme not consistent
with other architectures, where usually for this kind of compability, we
just use the oldest SoC name that has this IP, so let's do just this.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'Documentation/devicetree/bindings/timer/allwinner,sun4i-timer.txt')
-rw-r--r-- | Documentation/devicetree/bindings/timer/allwinner,sun4i-timer.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/allwinner,sun4i-timer.txt b/Documentation/devicetree/bindings/timer/allwinner,sun4i-timer.txt new file mode 100644 index 000000000000..48aeb7884ed3 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/allwinner,sun4i-timer.txt @@ -0,0 +1,17 @@ +Allwinner A1X SoCs Timer Controller + +Required properties: + +- compatible : should be "allwinner,sun4i-timer" +- reg : Specifies base physical address and size of the registers. +- interrupts : The interrupt of the first timer +- clocks: phandle to the source clock (usually a 24 MHz fixed clock) + +Example: + +timer { + compatible = "allwinner,sun4i-timer"; + reg = <0x01c20c00 0x400>; + interrupts = <22>; + clocks = <&osc>; +}; |