Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: OMAP4: add *reg* property for ocp2scp

*reg* property for ocp2scp was previously obtained from ti,hwmods property.
But that is now explicitly added to the dt node.
Also updated the documentation with *reg* info.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>

authored by

Kishon Vijay Abraham I and committed by
Benoit Cousson
3ce0a99c c8de91a2

+20 -1
+18
Documentation/devicetree/bindings/bus/omap-ocp2scp.txt
··· 2 2 3 3 properties: 4 4 - compatible : Should be "ti,omap-ocp2scp" 5 + - reg : Address and length of the register set for the device 5 6 - #address-cells, #size-cells : Must be present if the device has sub-nodes 6 7 - ranges : the child address space are mapped 1:1 onto the parent address space 7 8 - ti,hwmods : must be "ocp2scp_usb_phy" 8 9 9 10 Sub-nodes: 10 11 All the devices connected to ocp2scp are described using sub-node to ocp2scp 12 + 13 + ocp2scp@4a0ad000 { 14 + compatible = "ti,omap-ocp2scp"; 15 + reg = <0x4a0ad000 0x1f>; 16 + #address-cells = <1>; 17 + #size-cells = <1>; 18 + ranges; 19 + ti,hwmods = "ocp2scp_usb_phy"; 20 + 21 + subnode1 { 22 + ... 23 + }; 24 + 25 + subnode2 { 26 + ... 27 + }; 28 + };
+2 -1
arch/arm/boot/dts/omap4.dtsi
··· 431 431 hw-caps-temp-alert; 432 432 }; 433 433 434 - ocp2scp { 434 + ocp2scp@4a0ad000 { 435 435 compatible = "ti,omap-ocp2scp"; 436 + reg = <0x4a0ad000 0x1f>; 436 437 #address-cells = <1>; 437 438 #size-cells = <1>; 438 439 ranges;