提交 34054213 编写于 作者: S Suman Anna 提交者: Tony Lindgren

ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes

Add a new generic property "#hwlock-cells" to the hwspinlock
DT nodes on OMAP4, OMAP5 and AM33xx. This common property allows
different platform implementations to define the args specifier
length. OMAP implementations will always use a value of 1.
Signed-off-by: NSuman Anna <s-anna@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 b62d91e5
...@@ -318,6 +318,7 @@ ...@@ -318,6 +318,7 @@
compatible = "ti,omap4-hwspinlock"; compatible = "ti,omap4-hwspinlock";
reg = <0x480ca000 0x1000>; reg = <0x480ca000 0x1000>;
ti,hwmods = "spinlock"; ti,hwmods = "spinlock";
#hwlock-cells = <1>;
}; };
wdt2: wdt@44e35000 { wdt2: wdt@44e35000 {
......
...@@ -313,6 +313,7 @@ ...@@ -313,6 +313,7 @@
compatible = "ti,omap4-hwspinlock"; compatible = "ti,omap4-hwspinlock";
reg = <0x4a0f6000 0x1000>; reg = <0x4a0f6000 0x1000>;
ti,hwmods = "spinlock"; ti,hwmods = "spinlock";
#hwlock-cells = <1>;
}; };
i2c1: i2c@48070000 { i2c1: i2c@48070000 {
......
...@@ -353,6 +353,7 @@ ...@@ -353,6 +353,7 @@
compatible = "ti,omap4-hwspinlock"; compatible = "ti,omap4-hwspinlock";
reg = <0x4a0f6000 0x1000>; reg = <0x4a0f6000 0x1000>;
ti,hwmods = "spinlock"; ti,hwmods = "spinlock";
#hwlock-cells = <1>;
}; };
mcspi1: spi@48098000 { mcspi1: spi@48098000 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册