Add the gpio and watchdog dts entries for the SOCFPGA platform.

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJTf2FPAAoJEBmUBAuBoyj0iygQALgQjMOpbw36+CNM2GAOUDHS
 oox39HNtSjfVgvu783kbLTUIiFg5MX2sRoIEqMhCZnjOAZy2urGdBYFUEtQGQrLG
 wULOm1gcaErVrusY8vBmrKp6ju7PW9tHnGMJeGF3eMgO9Ri36KvaTCzISxora+dG
 74dBZUUVkvspLS8IdFTFIvYaBqsK3bpI84G10sYL1bnpyupqW7C+/nPwNIfjnge9
 W4gVkub7J8Zxipnf72K2cQYkaMqxruN7aDPk7WBfM1y+doaXchFOtb5ZvpfevTGt
 OgCzflRIXhlWUqMFNJuMWDKs4qg3Hqx3BQDiDpF5w7aHyUBcKsIwncIo/cwffusl
 kYZ95taZ9zHubDHJ0poPDoLJ45yc5yP6Ar4avwO3U1jBNYOLbdbau4YDBcdxjkuG
 N4UaNfeRGRlOZvYbRENEdM+Wl1SYq5VSc5FadMAwOi6f6Wt5mZ9Eu+Z2u0eC5CVa
 Dz2/D6v0X5rDYr+wzywMO4qZ2kTF/vtQZFgd4bybYbTs4gBcqkz86Etlw+2IIBM6
 K6WnKeTV6Munuo+WgJThM1MI6V70QTKJoyEe/H45MV+KAZ2AigMF6qbMwbyQDSh7
 Hd0ffboNKHKoKPlQop8MUAuwbYowqgTCpqpXgSYP5Uv7QQWUd/QaNuMUSvnZmcAl
 Dp+FLrfIJ1PaC+POp3pL
 =yQKy
 -----END PGP SIGNATURE-----

Merge tag 'socfpga_dt_updates-for-3.16_take_2_version_2' of git://git.rocketboards.org/linux-socfpga-next into next/dt

Merge "SOCFPGA DTS updates for 3.16, take 2-version 2" from Dinh Nguyen:

Add the gpio and watchdog dts entries for the SOCFPGA platform.

* tag 'socfpga_dt_updates-for-3.16_take_2_version_2' of git://git.rocketboards.org/linux-socfpga-next:
  ARM: socfpga: dts: add watchdog0+1
  ARM: dts: socfpga: add gpio pieces

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2014-05-26 15:06:26 -07:00
commit 87427db921

View File

@ -543,6 +543,66 @@ i2c3: i2c@ffc07000 {
status = "disabled";
};
gpio@ff708000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dw-apb-gpio";
reg = <0xff708000 0x1000>;
clocks = <&per_base_clk>;
status = "disabled";
gpio0: gpio-controller@0 {
compatible = "snps,dw-apb-gpio-port";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <29>;
reg = <0>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <0 164 4>;
};
};
gpio@ff709000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dw-apb-gpio";
reg = <0xff709000 0x1000>;
clocks = <&per_base_clk>;
status = "disabled";
gpio1: gpio-controller@0 {
compatible = "snps,dw-apb-gpio-port";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <29>;
reg = <0>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <0 165 4>;
};
};
gpio@ff70a000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "snps,dw-apb-gpio";
reg = <0xff70a000 0x1000>;
clocks = <&per_base_clk>;
status = "disabled";
gpio2: gpio-controller@0 {
compatible = "snps,dw-apb-gpio-port";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <27>;
reg = <0>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <0 166 4>;
};
};
L2: l2-cache@fffef000 {
compatible = "arm,pl310-cache";
reg = <0xfffef000 0x1000>;
@ -655,6 +715,22 @@ usb1: usb@ffb40000 {
status = "disabled";
};
watchdog0: watchdog@ffd02000 {
compatible = "snps,dw-wdt";
reg = <0xffd02000 0x1000>;
interrupts = <0 171 4>;
clocks = <&osc1>;
status = "disabled";
};
watchdog1: watchdog@ffd03000 {
compatible = "snps,dw-wdt";
reg = <0xffd03000 0x1000>;
interrupts = <0 172 4>;
clocks = <&osc1>;
status = "disabled";
};
sysmgr: sysmgr@ffd08000 {
compatible = "altr,sys-mgr", "syscon";
reg = <0xffd08000 0x4000>;