Commit 25e9cd46 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'mvebu-dt-3.14' of git://git.infradead.org/linux-mvebu into next/dt

From Jason Cooper:
mvebu DT changes for v3.14

 - mvebu:
    - remove unneeded OS-specific properties from led nodes
    - add NAND controller to Armada boards
    - add sata leds to readynas 104
    - add gpio-poweroff to readynas duo v2

 - kirkwood:
    - comment cleanup in sheevaplug files
    - default pinctrl for sdio
    - sdio in guruplug is non-removable

 - orion5x:
    - typo fix

 - dove:
    - typo fix
    - add PMU interrupt controller and RTC interrupt via same

* tag 'mvebu-dt-3.14' of git://git.infradead.org/linux-mvebu:
  ARM: Dove: Add RTC interrupt via PMU interrupt controller.
  ARM: Dove: Add DT node for PMU interrupt controller.
  ARM: mvebu: Add DT entry for ReadyNAS Duo v2 to use gpio-poweroff driver
  ARM: mvebu: Add RN104 SATA LEDs driven via NXP PCA9554 I2C to GPIO muxer
  ARM: kirkwood: mark guruplug sdio as non-removable
  ARM: kirkwood: provide pinctrl default to sdio nodes
  ARM: dove: Fix typo in device_type property of phy node
  ARM: orion5x: Fix typo in device_type property of phy node
  ARM: mvebu: Enable NAND controller in Armada 370 Mirabox
  ARM: mvebu: Enable NAND controller in Armada XP GP board
  ARM: mvebu: Add support for NAND controller in Armada 370/XP
  ARM: kirkwood: Cleanup comments in Sheevaplug dts files
  ARM: mvebu: dts: remove unneeded linux,default-state from led nodes
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents dab71939 bd22bb23
......@@ -74,13 +74,13 @@ gpio_leds {
green_pwr_led {
label = "mirabox:green:pwr";
gpios = <&gpio1 31 1>;
linux,default-trigger = "heartbeat";
default-state = "keep";
};
blue_stat_led {
label = "mirabox:blue:stat";
gpios = <&gpio2 0 1>;
linux,default-trigger = "cpu0";
default-state = "off";
};
green_stat_led {
......@@ -139,6 +139,27 @@ pca9505: pca9505@25 {
reg = <0x25>;
};
};
nand@d0000 {
status = "okay";
num-cs = <1>;
marvell,nand-keep-config;
marvell,nand-enable-arbiter;
nand-on-flash-bbt;
partition@0 {
label = "U-Boot";
reg = <0 0x400000>;
};
partition@400000 {
label = "Linux";
reg = <0x400000 0x400000>;
};
partition@800000 {
label = "Filesystem";
reg = <0x800000 0x3f800000>;
};
};
};
};
};
......@@ -138,7 +138,7 @@ &sata2_led_pin
blue_power_led {
label = "rn102:blue:pwr";
gpios = <&gpio1 25 1>; /* GPIO 57 Active Low */
linux,default-trigger = "heartbeat";
default-state = "keep";
};
green_sata1_led {
......
......@@ -12,6 +12,7 @@
/dts-v1/;
#include "armada-370.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ {
model = "NETGEAR ReadyNAS 104";
......@@ -123,6 +124,13 @@ g762: g762@3e {
fan_startv = <1>;
pwm_polarity = <0>;
};
pca9554: pca9554@23 {
compatible = "nxp,pca9554";
gpio-controller;
#gpio-cells = <2>;
reg = <0x23>;
};
};
};
};
......@@ -154,6 +162,30 @@ blue_power_led {
gpios = <&gpio2 0 1>; /* GPIO 64 Active Low */
linux,default-trigger = "keep";
};
sata1_led {
label = "rn104:blue:sata1";
gpios = <&pca9554 0 GPIO_ACTIVE_LOW>;
default-state = "off";
};
sata2_led {
label = "rn104:blue:sata2";
gpios = <&pca9554 1 GPIO_ACTIVE_LOW>;
default-state = "off";
};
sata3_led {
label = "rn104:blue:sata3";
gpios = <&pca9554 2 GPIO_ACTIVE_LOW>;
default-state = "off";
};
sata4_led {
label = "rn104:blue:sata4";
gpios = <&pca9554 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
gpio_keys {
......
......@@ -257,6 +257,15 @@ spi1: spi@10680 {
status = "disabled";
};
nand@d0000 {
compatible = "marvell,armada370-nand";
reg = <0xd0000 0x54>;
#address-cells = <1>;
#size-cells = <1>;
interrupts = <113>;
clocks = <&coredivclk 0>;
status = "disabled";
};
};
};
......
......@@ -175,6 +175,14 @@ spi-flash@0 {
spi-max-frequency = <108000000>;
};
};
nand@d0000 {
status = "okay";
num-cs = <1>;
marvell,nand-keep-config;
marvell,nand-enable-arbiter;
nand-on-flash-bbt;
};
};
};
};
......@@ -103,8 +103,7 @@ yellow_led {
green_led {
label = "green_led";
gpios = <&gpio1 21 1>;
default-state = "off";
linux,default-trigger = "heartbeat";
default-state = "keep";
};
};
......
......@@ -23,7 +23,7 @@ leds {
power {
label = "Power";
gpios = <&gpio0 18 1>;
linux,default-trigger = "default-on";
default-state = "keep";
};
};
......
......@@ -136,6 +136,15 @@ bridge_intc: bridge-interrupt-ctrl@20110 {
marvell,#interrupts = <5>;
};
pmu_intc: pmu-interrupt-ctrl@d0050 {
compatible = "marvell,dove-pmu-intc";
interrupt-controller;
#interrupt-cells = <1>;
reg = <0xd0050 0x8>;
interrupts = <33>;
marvell,#interrupts = <7>;
};
core_clk: core-clocks@d0214 {
compatible = "marvell,dove-core-clock";
reg = <0xd0214 0x4>;
......@@ -497,6 +506,8 @@ sata0: sata-host@a0000 {
rtc: real-time-clock@d8500 {
compatible = "marvell,orion-rtc";
reg = <0xd8500 0x20>;
interrupt-parent = <&pmu_intc>;
interrupts = <5>;
};
crypto: crypto-engine@30000 {
......@@ -559,7 +570,7 @@ mdio: mdio-bus@72004 {
status = "disabled";
ethphy: ethernet-phy {
device-type = "ethernet-phy";
device_type = "ethernet-phy";
/* set phy address in board file */
};
};
......
......@@ -97,6 +97,8 @@ mvsdio@90000 {
reg = <0x90000 0x200>;
interrupts = <28>;
clocks = <&gate_clk 4>;
pinctrl-0 = <&pmx_sdio>;
pinctrl-names = "default";
bus-width = <4>;
cap-sdio-irq;
cap-sd-highspeed;
......
......@@ -125,6 +125,8 @@ mvsdio@90000 {
reg = <0x90000 0x200>;
interrupts = <28>;
clocks = <&gate_clk 4>;
pinctrl-0 = <&pmx_sdio>;
pinctrl-names = "default";
bus-width = <4>;
cap-sdio-irq;
cap-sd-highspeed;
......
......@@ -25,7 +25,7 @@ &pmx_led_red_left_hdd &pmx_led_red_right_hdd
blue-power {
label = "dns320:blue:power";
gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */
linux,default-trigger = "default-on";
default-state = "keep";
};
blue-usb {
label = "dns320:blue:usb";
......
......@@ -25,7 +25,7 @@ &pmx_led_red_left_hdd &pmx_led_red_right_hdd
white-power {
label = "dns325:white:power";
gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */
linux,default-trigger = "default-on";
default-state = "keep";
};
white-usb {
label = "dns325:white:usb";
......
......@@ -43,7 +43,7 @@ gpio-leds {
health {
label = "status:green:health";
gpios = <&gpio1 14 1>;
linux,default-trigger = "default-on";
default-state = "keep";
};
fault {
label = "status:orange:fault";
......
......@@ -86,7 +86,7 @@ &pmx_led_right_cap_2 &pmx_led_right_cap_3
health {
label = "status:green:health";
gpios = <&gpio1 14 1>;
linux,default-trigger = "default-on";
default-state = "keep";
};
fault {
label = "status:orange:fault";
......
......@@ -45,10 +45,10 @@ sata@80000 {
nr-ports = <1>;
};
/* AzureWave AW-GH381 WiFi/BT */
mvsdio@90000 {
status = "okay";
/* No CD or WP GPIOs */
broken-cd;
non-removable;
};
};
......
......@@ -82,7 +82,7 @@ gpio-leds {
green-os {
label = "ib62x0:green:os";
gpios = <&gpio0 25 0>;
linux,default-trigger = "default-on";
default-state = "keep";
};
red-os {
label = "ib62x0:red:os";
......
......@@ -95,12 +95,12 @@ &pmx_led_usb2 &pmx_led_usb3
led-level {
label = "led_level";
gpios = <&gpio1 9 0>;
linux,default-trigger = "default-on";
default-state = "on";
};
power-blue {
label = "power:blue";
gpios = <&gpio1 10 0>;
linux,default-trigger = "timer";
default-state = "keep";
};
power-red {
label = "power:red";
......
......@@ -128,7 +128,7 @@ gpio-leds {
power_led {
label = "status:white:power_led";
gpios = <&gpio0 16 0>;
linux,default-trigger = "default-on";
default-state = "keep";
};
rebuild_led {
label = "status:white:rebuild_led";
......
......@@ -150,7 +150,7 @@ led@3 {
led@4 {
label = "lsxl:blue:power";
gpios = <&gpio1 7 1>;
linux,default-trigger = "default-on";
default-state = "keep";
};
led@5 {
......
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include "kirkwood.dtsi"
#include "kirkwood-6282.dtsi"
......@@ -60,6 +61,10 @@ pmx_led_blue_backup: pmx-led-blue-backup {
marvell,pins = "mpp29";
marvell,function = "gpio";
};
pmx_poweroff: pmx-poweroff {
marvell,pins = "mpp30";
marvell,function = "gpio";
};
};
clocks {
......@@ -113,7 +118,7 @@ &pmx_led_blue_disk1 &pmx_led_blue_disk2
power_led {
label = "status:blue:power_led";
gpios = <&gpio0 31 1>; /* GPIO 31 Active Low */
linux,default-trigger = "default-on";
default-state = "keep";
};
activity_led {
label = "status:blue:activity_led";
......@@ -158,6 +163,13 @@ button@3 {
};
};
gpio-poweroff {
compatible = "gpio-poweroff";
pinctrl-0 = <&pmx_poweroff>;
pinctrl-names = "default";
gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
};
regulators {
compatible = "simple-bus";
#address-cells = <1>;
......
......@@ -26,7 +26,7 @@ gpio-leds {
blue-sata {
label = "ns2:blue:sata";
gpios = <&gpio0 30 1>;
linux,default-trigger = "default-on";
linux,default-trigger = "ide-disk";
};
};
};
......
/*
* kirkwood-sheevaplug-common.dts - Common parts for Sheevaplugs
* kirkwood-sheevaplug-common.dtsi - Common parts for Sheevaplugs
*
* Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com>
*
......
......@@ -37,7 +37,7 @@ gpio-leds {
health {
label = "sheevaplug:blue:health";
gpios = <&gpio1 17 1>;
linux,default-trigger = "default-on";
default-state = "keep";
};
};
};
/*
* kirkwood-sheevaplug-esata.dts - Device tree file for Sheevaplug
* kirkwood-sheevaplug.dts - Device tree file for Sheevaplug
*
* Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com>
*
......@@ -32,7 +32,7 @@ gpio-leds {
health {
label = "sheevaplug:blue:health";
gpios = <&gpio1 17 1>;
linux,default-trigger = "default-on";
default-state = "keep";
};
misc {
......
......@@ -58,7 +58,7 @@ &mdio {
status = "okay";
ethphy: ethernet-phy {
device-type = "ethernet-phy";
device_type = "ethernet-phy";
reg = <8>;
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment