aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2014-12-26 03:58:01 -0500
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2015-01-07 09:36:44 -0500
commit5138d5c562e3bfe30964e20ab46eec9f8b89225d (patch)
tree5a8cfa266582125cf12daf26a9f6802adab20357
parent5adba7c2daaecccf377e7ed5a2996caedd5384f1 (diff)
ARM: dts: berlin: correct BG2Q's SM GPIO location.
The gpio4 and gpio5 are in 0xf7fc0000 apb which is located in the SM domain. This patch moves gpio4 and gpio5 to the correct location. This patch also renames them as the following to match the names we internally used in marvell: gpio4 -> sm_gpio1 gpio5 -> sm_gpio0 porte -> portf portf -> porte This also matches what we did for BG2 and BG2CD's SM GPIO. Cc: stable@vger.kernel.org # 3.16+ Fixes: cedf57fc4f2f ("ARM: dts: berlin: add the BG2Q GPIO nodes") Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
-rw-r--r--arch/arm/boot/dts/berlin2q.dtsi60
1 files changed, 30 insertions, 30 deletions
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
index 903f3bb2ae3d..e2f61f27944e 100644
--- a/arch/arm/boot/dts/berlin2q.dtsi
+++ b/arch/arm/boot/dts/berlin2q.dtsi
@@ -349,36 +349,6 @@
349 interrupt-parent = <&gic>; 349 interrupt-parent = <&gic>;
350 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 350 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
351 }; 351 };
352
353 gpio4: gpio@5000 {
354 compatible = "snps,dw-apb-gpio";
355 reg = <0x5000 0x400>;
356 #address-cells = <1>;
357 #size-cells = <0>;
358
359 porte: gpio-port@4 {
360 compatible = "snps,dw-apb-gpio-port";
361 gpio-controller;
362 #gpio-cells = <2>;
363 snps,nr-gpios = <32>;
364 reg = <0>;
365 };
366 };
367
368 gpio5: gpio@c000 {
369 compatible = "snps,dw-apb-gpio";
370 reg = <0xc000 0x400>;
371 #address-cells = <1>;
372 #size-cells = <0>;
373
374 portf: gpio-port@5 {
375 compatible = "snps,dw-apb-gpio-port";
376 gpio-controller;
377 #gpio-cells = <2>;
378 snps,nr-gpios = <32>;
379 reg = <0>;
380 };
381 };
382 }; 352 };
383 353
384 chip: chip-control@ea0000 { 354 chip: chip-control@ea0000 {
@@ -467,6 +437,21 @@
467 ranges = <0 0xfc0000 0x10000>; 437 ranges = <0 0xfc0000 0x10000>;
468 interrupt-parent = <&sic>; 438 interrupt-parent = <&sic>;
469 439
440 sm_gpio1: gpio@5000 {
441 compatible = "snps,dw-apb-gpio";
442 reg = <0x5000 0x400>;
443 #address-cells = <1>;
444 #size-cells = <0>;
445
446 portf: gpio-port@5 {
447 compatible = "snps,dw-apb-gpio-port";
448 gpio-controller;
449 #gpio-cells = <2>;
450 snps,nr-gpios = <32>;
451 reg = <0>;
452 };
453 };
454
470 i2c2: i2c@7000 { 455 i2c2: i2c@7000 {
471 compatible = "snps,designware-i2c"; 456 compatible = "snps,designware-i2c";
472 #address-cells = <1>; 457 #address-cells = <1>;
@@ -517,6 +502,21 @@
517 status = "disabled"; 502 status = "disabled";
518 }; 503 };
519 504
505 sm_gpio0: gpio@c000 {
506 compatible = "snps,dw-apb-gpio";
507 reg = <0xc000 0x400>;
508 #address-cells = <1>;
509 #size-cells = <0>;
510
511 porte: gpio-port@4 {
512 compatible = "snps,dw-apb-gpio-port";
513 gpio-controller;
514 #gpio-cells = <2>;
515 snps,nr-gpios = <32>;
516 reg = <0>;
517 };
518 };
519
520 sysctrl: pin-controller@d000 { 520 sysctrl: pin-controller@d000 {
521 compatible = "marvell,berlin2q-system-ctrl"; 521 compatible = "marvell,berlin2q-system-ctrl";
522 reg = <0xd000 0x100>; 522 reg = <0xd000 0x100>;