Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Merge "ARM: mvebu: dt changes for v4.1 (round 2)" from Gregory Clement:

mvebu dt changes for v4.1 (part #2)

- add support for Performance Monitor Unit on most of mvebu SoCs
- add nas2big support
- add support for USB3 port On Armada 385 AP

* tag 'mvebu-dt-4.1-2' of git://git.infradead.org/linux-mvebu:
ARM: mvebu: armada-385-ap: Enable USB3 port
ARM: mvebu: Enable Performance Monitor Unit on Armada 380/385 SoC
ARM: mvebu: Enable Performance Monitor Unit on Armada 375 SoC
ARM: mvebu: Enable Performance Monitor Unit on Armada XP/370 SoCs
ARM: Kirkwood: add DT description for nas2big

Signed-off-by: Olof Johansson <olof@lixom.net>

+188
+1
Documentation/devicetree/bindings/arm/marvell,kirkwood.txt
··· 42 42 "lacie,cloudbox" 43 43 "lacie,inetspace_v2" 44 44 "lacie,laplug" 45 + "lacie,nas2big" 45 46 "lacie,netspace_lite_v2" 46 47 "lacie,netspace_max_v2" 47 48 "lacie,netspace_mini_v2"
+1
arch/arm/boot/dts/Makefile
··· 170 170 kirkwood-lsxhl.dtb \ 171 171 kirkwood-mplcec4.dtb \ 172 172 kirkwood-mv88f6281gtw-ge.dtb \ 173 + kirkwood-nas2big.dtb \ 173 174 kirkwood-net2big.dtb \ 174 175 kirkwood-net5big.dtb \ 175 176 kirkwood-netgear_readynas_duo_v2.dtb \
+5
arch/arm/boot/dts/armada-370-xp.dtsi
··· 73 73 }; 74 74 }; 75 75 76 + pmu { 77 + compatible = "arm,cortex-a9-pmu"; 78 + interrupts-extended = <&mpic 3>; 79 + }; 80 + 76 81 soc { 77 82 #address-cells = <2>; 78 83 #size-cells = <1>;
+5
arch/arm/boot/dts/armada-375.dtsi
··· 96 96 }; 97 97 }; 98 98 99 + pmu { 100 + compatible = "arm,cortex-a9-pmu"; 101 + interrupts-extended = <&mpic 3>; 102 + }; 103 + 99 104 soc { 100 105 compatible = "marvell,armada375-mbus", "simple-bus"; 101 106 #address-cells = <2>;
+28
arch/arm/boot/dts/armada-385-db-ap.dts
··· 125 125 status = "okay"; 126 126 }; 127 127 128 + pinctrl@18000 { 129 + xhci0_vbus_pins: xhci0-vbus-pins { 130 + marvell,pins = "mpp44"; 131 + marvell,function = "gpio"; 132 + }; 133 + }; 134 + 128 135 ethernet@30000 { 129 136 status = "okay"; 130 137 phy = <&phy2>; ··· 169 162 marvell,nand-enable-arbiter; 170 163 nand-on-flash-bbt; 171 164 }; 165 + 166 + usb3@f0000 { 167 + status = "okay"; 168 + usb-phy = <&usb3_phy>; 169 + }; 172 170 }; 173 171 174 172 pcie-controller { ··· 198 186 status = "okay"; 199 187 }; 200 188 }; 189 + }; 190 + 191 + usb3_phy: usb3_phy { 192 + compatible = "usb-nop-xceiv"; 193 + vcc-supply = <&reg_xhci0_vbus>; 194 + }; 195 + 196 + reg_xhci0_vbus: xhci0-vbus { 197 + compatible = "regulator-fixed"; 198 + pinctrl-names = "default"; 199 + pinctrl-0 = <&xhci0_vbus_pins>; 200 + regulator-name = "xhci0-vbus"; 201 + regulator-min-microvolt = <5000000>; 202 + regulator-max-microvolt = <5000000>; 203 + enable-active-high; 204 + gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; 201 205 }; 202 206 };
+5
arch/arm/boot/dts/armada-38x.dtsi
··· 63 63 serial1 = &uart1; 64 64 }; 65 65 66 + pmu { 67 + compatible = "arm,cortex-a9-pmu"; 68 + interrupts-extended = <&mpic 3>; 69 + }; 70 + 66 71 soc { 67 72 compatible = "marvell,armada380-mbus", "simple-bus"; 68 73 #address-cells = <2>;
+143
arch/arm/boot/dts/kirkwood-nas2big.dts
··· 1 + /* 2 + * Device Tree file for LaCie 2Big NAS 3 + * 4 + * Copyright (C) 2015 Seagate 5 + * 6 + * Author: Simon Guinot <simon.guinot@sequanux.org> 7 + * 8 + * This file is licensed under the terms of the GNU General Public 9 + * License version 2. This program is licensed "as is" without any 10 + * warranty of any kind, whether express or implied. 11 + */ 12 + 13 + /dts-v1/; 14 + 15 + #include "kirkwood-netxbig.dtsi" 16 + 17 + / { 18 + model = "LaCie 2Big NAS"; 19 + compatible = "lacie,nas2big", "lacie,netxbig", "marvell,kirkwood-88f6282", "marvell,kirkwood"; 20 + 21 + memory { 22 + device_type = "memory"; 23 + reg = <0x00000000 0x10000000>; 24 + }; 25 + 26 + chosen { 27 + bootargs = "console=ttyS0,115200n8"; 28 + stdout-path = &uart0; 29 + }; 30 + 31 + mbus { 32 + pcie-controller { 33 + status = "okay"; 34 + 35 + pcie@1,0 { 36 + status = "okay"; 37 + }; 38 + }; 39 + }; 40 + 41 + ocp@f1000000 { 42 + rtc@10300 { 43 + /* The on-chip RTC is not powered (no supercap). */ 44 + status = "disabled"; 45 + }; 46 + spi@10600 { 47 + /* 48 + * A NAND flash is used instead of an SPI flash for 49 + * the other netxbig-compatible boards. 50 + */ 51 + status = "disabled"; 52 + }; 53 + }; 54 + 55 + fan { 56 + /* 57 + * An I2C fan controller (GMT G762) is used but alarm is 58 + * wired to a separate GPIO. 59 + */ 60 + compatible = "gpio-fan"; 61 + alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; 62 + }; 63 + 64 + regulators: regulators { 65 + status = "okay"; 66 + compatible = "simple-bus"; 67 + #address-cells = <1>; 68 + #size-cells = <0>; 69 + pinctrl-names = "default"; 70 + 71 + regulator@2 { 72 + compatible = "regulator-fixed"; 73 + reg = <2>; 74 + regulator-name = "hdd1power"; 75 + regulator-min-microvolt = <5000000>; 76 + regulator-max-microvolt = <5000000>; 77 + enable-active-high; 78 + regulator-always-on; 79 + regulator-boot-on; 80 + gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>; 81 + }; 82 + clocks { 83 + g762_clk: g762-oscillator { 84 + compatible = "fixed-clock"; 85 + #clock-cells = <0>; 86 + clock-frequency = <32768>; 87 + }; 88 + }; 89 + }; 90 + }; 91 + 92 + &mdio { 93 + status = "okay"; 94 + 95 + ethphy0: ethernet-phy@0 { 96 + reg = <0>; 97 + }; 98 + }; 99 + 100 + &i2c0 { 101 + status = "okay"; 102 + 103 + /* 104 + * An external I2C RTC (Dallas DS1337S+) is used. This allows 105 + * to power-up the board on an RTC alarm. The external RTC can 106 + * be kept powered, even when the SoC is off. 107 + */ 108 + rtc@68 { 109 + compatible = "dallas,ds1307"; 110 + reg = <0x68>; 111 + interrupts = <43>; 112 + }; 113 + g762@3e { 114 + compatible = "gmt,g762"; 115 + reg = <0x3e>; 116 + clocks = <&g762_clk>; 117 + }; 118 + }; 119 + 120 + &nand { 121 + chip-delay = <50>; 122 + status = "okay"; 123 + 124 + partition@0 { 125 + label = "U-Boot"; 126 + reg = <0x0 0x100000>; 127 + }; 128 + 129 + partition@100000 { 130 + label = "uImage"; 131 + reg = <0x100000 0x1000000>; 132 + }; 133 + 134 + partition@1100000 { 135 + label = "root"; 136 + reg = <0x1100000 0x8000000>; 137 + }; 138 + 139 + partition@9100000 { 140 + label = "unused"; 141 + reg = <0x9100000 0x6f00000>; 142 + }; 143 + };