Skip to content

Commit

Permalink
ARM: dts: tango4: Update DT to match clk driver
Browse files Browse the repository at this point in the history
Commit fefe053 ("clk: tango4: improve clkgen driver") added
support for USB and SDIO clocks.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Marc Gonzalez authored and Arnd Bergmann committed May 10, 2016
1 parent a6e8188 commit 692fbdd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
10 changes: 6 additions & 4 deletions arch/arm/boot/dts/tango4-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
* https://github.com/mansr/linux-tangox
*/

#define CPU_CLK 0
#define SYS_CLK 1

#include <dt-bindings/interrupt-controller/arm-gic.h>

#define CPU_CLK 0
#define SYS_CLK 1
#define USB_CLK 2
#define SDIO_CLK 3

/ {
interrupt-parent = <&gic>;
#address-cells = <1>;
Expand Down Expand Up @@ -70,7 +72,7 @@

clkgen: clkgen@10000 {
compatible = "sigma,tango4-clkgen";
reg = <0x10000 0x40>;
reg = <0x10000 0x100>;
clocks = <&xtal>;
#clock-cells = <1>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/tango4-smp8758.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "tango4-common.dtsi"

/ {
cpus {
Expand Down
1 change: 0 additions & 1 deletion arch/arm/boot/dts/tango4-vantage-1172.dts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/dts-v1/;

#include "tango4-smp8758.dtsi"
#include "tango4-common.dtsi"

/ {
model = "Sigma Designs SMP8758 Vantage-1172 Rev E1";
Expand Down

0 comments on commit 692fbdd

Please sign in to comment.