Skip to content

Commit

Permalink
ARM: dts: AM33XX: don't redefine OCP bus and device nodes
Browse files Browse the repository at this point in the history
The On Chip Peripherals (OCP) device node is a simplified
representation of the AM33XX SoC interconnect. An OCP dev
node is already defined in the am33xx.dtsi Device Tree
source file included by am33xx based boards so there is
no need to redefine this on each board DT file.

Also, the OCP and IP modules directly connected to it are SoC
internal details that is better to keep outside of board files.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
  • Loading branch information
Javier Martinez Canillas authored and Benoit Cousson committed Oct 11, 2013
1 parent 82d75af commit e0efaaf
Show file tree
Hide file tree
Showing 3 changed files with 311 additions and 317 deletions.
100 changes: 49 additions & 51 deletions arch/arm/boot/dts/am335x-bone-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,57 +21,6 @@
reg = <0x80000000 0x10000000>; /* 256 MB */
};

ocp {
uart0: serial@44e09000 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;

status = "okay";
};

musb: usb@47400000 {
status = "okay";

control@44e10000 {
status = "okay";
};

usb-phy@47401300 {
status = "okay";
};

usb-phy@47401b00 {
status = "okay";
};

usb@47401000 {
status = "okay";
};

usb@47401800 {
status = "okay";
dr_mode = "host";
};

dma-controller@07402000 {
status = "okay";
};
};

i2c0: i2c@44e0b000 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;

status = "okay";
clock-frequency = <400000>;

tps: tps@24 {
reg = <0x24>;
};

};
};

leds {
pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0>;
Expand Down Expand Up @@ -217,6 +166,55 @@
};
};

&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;

status = "okay";
};

&usb {
status = "okay";

control@44e10000 {
status = "okay";
};

usb-phy@47401300 {
status = "okay";
};

usb-phy@47401b00 {
status = "okay";
};

usb@47401000 {
status = "okay";
};

usb@47401800 {
status = "okay";
dr_mode = "host";
};

dma-controller@07402000 {
status = "okay";
};
};

&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;

status = "okay";
clock-frequency = <400000>;

tps: tps@24 {
reg = <0x24>;
};

};

/include/ "tps65217.dtsi"

&tps {
Expand Down
Loading

0 comments on commit e0efaaf

Please sign in to comment.