mvebu DT changes for v3.16
- kirkwood - rework nsa3x0 board to add nsa320 - large cleanup to facilitate use in barebox - guruplug phy updates - audio updates for t5325 - mvebu - use clocks vice clock-frequency for uart nodes - armada 375/380/385 - add watchdog node - add coherency fabric - add smp support - add sdhci - add ahci - add thermal sensor - armada 370/XP - and pmsu -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJTa6c8AAoJEP45WPkGe8ZnwB8P/0jFC/tWujz/ndmri/lx8+pi rRzyuHg2MCG81lAsJD2dvCh1IWqSg4YM3JWGjiqTNDVn526iVnp9FuJ8SmLiursL KG0P1CX+uFqXY181DZBi1OFy3bIz2T/brrA48r6tAVoO3IiZ9v5UnaNz/QokCM+Z Yrx1d8sSi5i5/1IqycPOS6TpZ9WcKXAgJFPv7FnvPtKnOxWir7lMW609zCdc54yg vx/UQiBIMqgsgNYnwHIe4CjRcjgrg6f4i1Y10XHFK++w3vo9B4lZM67FKfv/Lslq z7zWC74v5/lA+SBW5Wb9fWqRxdMEcg8AtA1gQ4qc5phMrVSUZwFRp701goCLhf8j t9Hmf5fcVoVLGDTpbcoCuXYCD512VwP5/rv3OtrJ8hGiCajt7JegiRd66TgM6YhQ awf2Ss3xEWsmDjSijKN4/zJfn9zzCFwRjdsjBrpXDmi8XH73Obt2Hug/koa1rr86 wFynL2KWkAmetPXFutOkU17zeOPZ4fs/oloCxpRO2jC8gaWLImO0jiCyMFZYEI4K bhIQjhD/rGPPnc4QyQ6Zln9f055tSlH/k5jycp2sGvqmbefTGawvLozi11wu1TXa aUeT3dRzXiK4qFn54YkgHwRM6Kp/pZMRXeeW9N27at+/CE9TIE1ZfR4jrTiXf7XS 70CTD4ElIKbA7fI5gXnS =qPr0 -----END PGP SIGNATURE----- Merge tag 'mvebu-dt-3.16' of git://git.infradead.org/linux-mvebu into next/dt Merge "ARM: mvebu: DT changes for v3.16" from Jason Cooper: mvebu DT changes for v3.16 - kirkwood - rework nsa3x0 board to add nsa320 - large cleanup to facilitate use in barebox - guruplug phy updates - audio updates for t5325 - mvebu - use clocks vice clock-frequency for uart nodes - armada 375/380/385 - add watchdog node - add coherency fabric - add smp support - add sdhci - add ahci - add thermal sensor - armada 370/XP - and pmsu * tag 'mvebu-dt-3.16' of git://git.infradead.org/linux-mvebu: (35 commits) ARM: Kirkwood: t5325: Use simple card to instantiate audio ARM: Kirkwood: DT: Add missing #sound-dai-cells property ARM: Kirkwood: Add node for audio codec ARM: dts: kirkwood: set Guruplug phy-connection-type to rgmii-id ARM: dts: kirkwood: set Guruplug ethernet PHY compatible ARM: dts: kirkwood: set default pinctrl for I2C1 on 6282 ARM: dts: kirkwood: set default pinctrl for I2C0 ARM: dts: kirkwood: set default pinctrl for NAND ARM: dts: kirkwood: set default pinctrl for SPI0 ARM: dts: kirkwood: set default pinctrl for UART0/1 ARM: dts: kirkwood: set default pinctrl for GBE1 ARM: dts: kirkwood: consolidate common pinctrl settings ARM: dts: kirkwood: add pinctrl node to common SoC include ARM: dts: kirkwood: rename pin-controller nodes ARM: dts: kirkwood: remove clock-frequency properties from UART nodes ARM: dts: kirkwood: add stdout-path property to all boards ARM: dts: kirkwood: add node labels ARM: mvebu: Enable the thermal sensor in Armada 380/385 SoC ARM: mvebu: Enable the thermal sensor in Armada 375 SoC ARM: mvebu: don't use clocks property in UART node for Netgear RN2120 ... Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
61e810d364
|
@ -35,7 +35,6 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
};
|
||||
sata@a0000 {
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
};
|
||||
timer@20300 {
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -51,7 +51,6 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
};
|
||||
sata@a0000 {
|
||||
|
|
|
@ -157,6 +157,7 @@
|
|||
reg-shift = <2>;
|
||||
interrupts = <41>;
|
||||
reg-io-width = <1>;
|
||||
clocks = <&coreclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
serial@12100 {
|
||||
|
@ -165,6 +166,7 @@
|
|||
reg-shift = <2>;
|
||||
interrupts = <42>;
|
||||
reg-io-width = <1>;
|
||||
clocks = <&coreclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -203,6 +205,11 @@
|
|||
reg = <0x20300 0x34>, <0x20704 0x4>;
|
||||
};
|
||||
|
||||
pmsu@22000 {
|
||||
compatible = "marvell,armada-370-pmsu";
|
||||
reg = <0x22000 0x1000>;
|
||||
};
|
||||
|
||||
usb@50000 {
|
||||
compatible = "marvell,orion-ehci";
|
||||
reg = <0x50000 0x500>;
|
||||
|
|
|
@ -220,6 +220,11 @@
|
|||
clocks = <&coreclk 2>;
|
||||
};
|
||||
|
||||
cpurst@20800 {
|
||||
compatible = "marvell,armada-370-cpu-reset";
|
||||
reg = <0x20800 0x8>;
|
||||
};
|
||||
|
||||
audio_controller: audio-controller@30000 {
|
||||
compatible = "marvell,armada370-audio";
|
||||
reg = <0x30000 0x4000>;
|
||||
|
|
|
@ -68,7 +68,6 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
enable-method = "marvell,armada-375-smp";
|
||||
|
||||
cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a9";
|
||||
|
@ -128,6 +130,11 @@
|
|||
cache-level = <2>;
|
||||
};
|
||||
|
||||
scu@c000 {
|
||||
compatible = "arm,cortex-a9-scu";
|
||||
reg = <0xc000 0x58>;
|
||||
};
|
||||
|
||||
timer@c600 {
|
||||
compatible = "arm,cortex-a9-twd-timer";
|
||||
reg = <0xc600 0x20>;
|
||||
|
@ -194,6 +201,7 @@
|
|||
reg-shift = <2>;
|
||||
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
|
||||
reg-io-width = <1>;
|
||||
clocks = <&coreclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -203,6 +211,7 @@
|
|||
reg-shift = <2>;
|
||||
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
|
||||
reg-io-width = <1>;
|
||||
clocks = <&coreclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -320,6 +329,22 @@
|
|||
clocks = <&coreclk 0>;
|
||||
};
|
||||
|
||||
watchdog@20300 {
|
||||
compatible = "marvell,armada-375-wdt";
|
||||
reg = <0x20300 0x34>, <0x20704 0x4>, <0x18254 0x4>;
|
||||
clocks = <&coreclk 0>;
|
||||
};
|
||||
|
||||
cpurst@20800 {
|
||||
compatible = "marvell,armada-370-cpu-reset";
|
||||
reg = <0x20800 0x10>;
|
||||
};
|
||||
|
||||
coherency-fabric@21010 {
|
||||
compatible = "marvell,armada-375-coherency-fabric";
|
||||
reg = <0x21010 0x1c>;
|
||||
};
|
||||
|
||||
xor@60800 {
|
||||
compatible = "marvell,orion-xor";
|
||||
reg = <0x60800 0x100
|
||||
|
@ -391,6 +416,12 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
thermal@e8078 {
|
||||
compatible = "marvell,armada375-thermal";
|
||||
reg = <0xe8078 0x4>, <0xe807c 0x8>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
coreclk: mvebu-sar@e8204 {
|
||||
compatible = "marvell,armada-375-core-clock";
|
||||
reg = <0xe8204 0x04>;
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
enable-method = "marvell,armada-380-smp";
|
||||
|
||||
cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a9";
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -81,6 +80,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
sata@a8000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sata@e0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
flash@d0000 {
|
||||
status = "okay";
|
||||
num-cs = <1>;
|
||||
|
@ -101,6 +108,14 @@
|
|||
reg = <0x1000000 0x3f000000>;
|
||||
};
|
||||
};
|
||||
|
||||
sdhci@d8000 {
|
||||
clock-frequency = <200000000>;
|
||||
broken-cd;
|
||||
wp-inverted;
|
||||
bus-width = <8>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
pcie-controller {
|
||||
|
|
|
@ -51,7 +51,6 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
enable-method = "marvell,armada-380-smp";
|
||||
|
||||
cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a9";
|
||||
|
|
|
@ -108,6 +108,11 @@
|
|||
cache-level = <2>;
|
||||
};
|
||||
|
||||
scu@c000 {
|
||||
compatible = "arm,cortex-a9-scu";
|
||||
reg = <0xc000 0x58>;
|
||||
};
|
||||
|
||||
timer@c600 {
|
||||
compatible = "arm,cortex-a9-twd-timer";
|
||||
reg = <0xc600 0x20>;
|
||||
|
@ -174,6 +179,7 @@
|
|||
reg-shift = <2>;
|
||||
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
|
||||
reg-io-width = <1>;
|
||||
clocks = <&coreclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -183,6 +189,7 @@
|
|||
reg-shift = <2>;
|
||||
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
|
||||
reg-io-width = <1>;
|
||||
clocks = <&coreclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -267,6 +274,28 @@
|
|||
clock-names = "nbclk", "fixed";
|
||||
};
|
||||
|
||||
watchdog@20300 {
|
||||
compatible = "marvell,armada-380-wdt";
|
||||
reg = <0x20300 0x34>, <0x20704 0x4>, <0x18260 0x4>;
|
||||
clocks = <&coreclk 2>, <&refclk>;
|
||||
clock-names = "nbclk", "fixed";
|
||||
};
|
||||
|
||||
cpurst@20800 {
|
||||
compatible = "marvell,armada-370-cpu-reset";
|
||||
reg = <0x20800 0x10>;
|
||||
};
|
||||
|
||||
coherency-fabric@21010 {
|
||||
compatible = "marvell,armada-380-coherency-fabric";
|
||||
reg = <0x21010 0x1c>;
|
||||
};
|
||||
|
||||
pmsu@22000 {
|
||||
compatible = "marvell,armada-380-pmsu";
|
||||
reg = <0x22000 0x1000>;
|
||||
};
|
||||
|
||||
eth1: ethernet@30000 {
|
||||
compatible = "marvell,armada-370-neta";
|
||||
reg = <0x30000 0x4000>;
|
||||
|
@ -339,6 +368,22 @@
|
|||
clocks = <&gateclk 4>;
|
||||
};
|
||||
|
||||
sata@a8000 {
|
||||
compatible = "marvell,armada-380-ahci";
|
||||
reg = <0xa8000 0x2000>;
|
||||
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gateclk 15>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sata@e0000 {
|
||||
compatible = "marvell,armada-380-ahci";
|
||||
reg = <0xe0000 0x2000>;
|
||||
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gateclk 30>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
coredivclk: clock@e4250 {
|
||||
compatible = "marvell,armada-380-corediv-clock";
|
||||
reg = <0xe4250 0xc>;
|
||||
|
@ -347,6 +392,12 @@
|
|||
clock-output-names = "nand";
|
||||
};
|
||||
|
||||
thermal@e8078 {
|
||||
compatible = "marvell,armada380-thermal";
|
||||
reg = <0xe4078 0x4>, <0xe4074 0x4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
flash@d0000 {
|
||||
compatible = "marvell,armada370-nand";
|
||||
reg = <0xd0000 0x54>;
|
||||
|
@ -356,6 +407,15 @@
|
|||
clocks = <&coredivclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sdhci@d8000 {
|
||||
compatible = "marvell,armada-380-sdhci";
|
||||
reg = <0xd8000 0x1000>, <0xdc000 0x100>;
|
||||
interrupts = <0 25 0x4>;
|
||||
clocks = <&gateclk 17>;
|
||||
mrvl,clk-delay-cycles = <0x1F>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -95,12 +95,10 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
serial@12100 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -106,19 +106,15 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12100 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12200 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12300 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -104,19 +104,15 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12100 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12200 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12300 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -37,19 +37,15 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12100 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12200 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12300 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
enable-method = "marvell,armada-xp-smp";
|
||||
|
||||
cpu@0 {
|
||||
device_type = "cpu";
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
enable-method = "marvell,armada-xp-smp";
|
||||
|
||||
cpu@0 {
|
||||
device_type = "cpu";
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
enable-method = "marvell,armada-xp-smp";
|
||||
|
||||
cpu@0 {
|
||||
device_type = "cpu";
|
||||
|
|
|
@ -138,7 +138,6 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
clocks = <&coreclk 0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -72,11 +72,9 @@
|
|||
|
||||
internal-regs {
|
||||
serial@12000 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
serial@12100 {
|
||||
clock-frequency = <250000000>;
|
||||
status = "okay";
|
||||
};
|
||||
pinctrl {
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
reg-shift = <2>;
|
||||
interrupts = <43>;
|
||||
reg-io-width = <1>;
|
||||
clocks = <&coreclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
serial@12300 {
|
||||
|
@ -66,6 +67,7 @@
|
|||
reg-shift = <2>;
|
||||
interrupts = <44>;
|
||||
reg-io-width = <1>;
|
||||
clocks = <&coreclk 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -117,9 +119,9 @@
|
|||
clock-names = "nbclk", "fixed";
|
||||
};
|
||||
|
||||
armada-370-xp-pmsu@22000 {
|
||||
compatible = "marvell,armada-370-xp-pmsu";
|
||||
reg = <0x22100 0x400>, <0x20800 0x20>;
|
||||
cpurst@20800 {
|
||||
compatible = "marvell,armada-370-cpu-reset";
|
||||
reg = <0x20800 0x20>;
|
||||
};
|
||||
|
||||
eth2: ethernet@30000 {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/ {
|
||||
mbus {
|
||||
pcie-controller {
|
||||
pciec: pcie-controller {
|
||||
compatible = "marvell,kirkwood-pcie";
|
||||
status = "disabled";
|
||||
device_type = "pci";
|
||||
|
@ -15,7 +15,7 @@
|
|||
0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
|
||||
0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>;
|
||||
|
||||
pcie@1,0 {
|
||||
pcie0: pcie@1,0 {
|
||||
device_type = "pci";
|
||||
assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>;
|
||||
reg = <0x0800 0 0 0 0>;
|
||||
|
@ -35,16 +35,9 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
compatible = "marvell,88f6192-pinctrl";
|
||||
reg = <0x10000 0x20>;
|
||||
|
||||
pmx_nand: pmx-nand {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
|
||||
"mpp4", "mpp5", "mpp18",
|
||||
"mpp19";
|
||||
marvell,function = "nand";
|
||||
};
|
||||
pmx_sata0: pmx-sata0 {
|
||||
marvell,pins = "mpp5", "mpp21", "mpp23";
|
||||
marvell,function = "sata0";
|
||||
|
@ -53,22 +46,6 @@
|
|||
marvell,pins = "mpp4", "mpp20", "mpp22";
|
||||
marvell,function = "sata1";
|
||||
};
|
||||
pmx_spi: pmx-spi {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
|
||||
marvell,function = "spi";
|
||||
};
|
||||
pmx_twsi0: pmx-twsi0 {
|
||||
marvell,pins = "mpp8", "mpp9";
|
||||
marvell,function = "twsi0";
|
||||
};
|
||||
pmx_uart0: pmx-uart0 {
|
||||
marvell,pins = "mpp10", "mpp11";
|
||||
marvell,function = "uart0";
|
||||
};
|
||||
pmx_uart1: pmx-uart1 {
|
||||
marvell,pins = "mpp13", "mpp14";
|
||||
marvell,function = "uart1";
|
||||
};
|
||||
pmx_sdio: pmx-sdio {
|
||||
marvell,pins = "mpp12", "mpp13", "mpp14",
|
||||
"mpp15", "mpp16", "mpp17";
|
||||
|
@ -76,14 +53,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
rtc@10300 {
|
||||
rtc: rtc@10300 {
|
||||
compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
|
||||
reg = <0x10300 0x20>;
|
||||
interrupts = <53>;
|
||||
clocks = <&gate_clk 7>;
|
||||
};
|
||||
|
||||
sata@80000 {
|
||||
sata: sata@80000 {
|
||||
compatible = "marvell,orion-sata";
|
||||
reg = <0x80000 0x5000>;
|
||||
interrupts = <21>;
|
||||
|
@ -92,7 +69,7 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
mvsdio@90000 {
|
||||
sdio: mvsdio@90000 {
|
||||
compatible = "marvell,orion-sdio";
|
||||
reg = <0x90000 0x200>;
|
||||
interrupts = <28>;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/ {
|
||||
mbus {
|
||||
pcie-controller {
|
||||
pciec: pcie-controller {
|
||||
compatible = "marvell,kirkwood-pcie";
|
||||
status = "disabled";
|
||||
device_type = "pci";
|
||||
|
@ -15,7 +15,7 @@
|
|||
0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
|
||||
0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>;
|
||||
|
||||
pcie@1,0 {
|
||||
pcie0: pcie@1,0 {
|
||||
device_type = "pci";
|
||||
assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>;
|
||||
reg = <0x0800 0 0 0 0>;
|
||||
|
@ -35,16 +35,9 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
compatible = "marvell,88f6281-pinctrl";
|
||||
reg = <0x10000 0x20>;
|
||||
|
||||
pmx_nand: pmx-nand {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
|
||||
"mpp4", "mpp5", "mpp18",
|
||||
"mpp19";
|
||||
marvell,function = "nand";
|
||||
};
|
||||
pmx_sata0: pmx-sata0 {
|
||||
marvell,pins = "mpp5", "mpp21", "mpp23";
|
||||
marvell,function = "sata0";
|
||||
|
@ -53,22 +46,6 @@
|
|||
marvell,pins = "mpp4", "mpp20", "mpp22";
|
||||
marvell,function = "sata1";
|
||||
};
|
||||
pmx_spi: pmx-spi {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
|
||||
marvell,function = "spi";
|
||||
};
|
||||
pmx_twsi0: pmx-twsi0 {
|
||||
marvell,pins = "mpp8", "mpp9";
|
||||
marvell,function = "twsi0";
|
||||
};
|
||||
pmx_uart0: pmx-uart0 {
|
||||
marvell,pins = "mpp10", "mpp11";
|
||||
marvell,function = "uart0";
|
||||
};
|
||||
pmx_uart1: pmx-uart1 {
|
||||
marvell,pins = "mpp13", "mpp14";
|
||||
marvell,function = "uart1";
|
||||
};
|
||||
pmx_sdio: pmx-sdio {
|
||||
marvell,pins = "mpp12", "mpp13", "mpp14",
|
||||
"mpp15", "mpp16", "mpp17";
|
||||
|
@ -76,14 +53,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
rtc@10300 {
|
||||
rtc: rtc@10300 {
|
||||
compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
|
||||
reg = <0x10300 0x20>;
|
||||
interrupts = <53>;
|
||||
clocks = <&gate_clk 7>;
|
||||
};
|
||||
|
||||
sata@80000 {
|
||||
sata: sata@80000 {
|
||||
compatible = "marvell,orion-sata";
|
||||
reg = <0x80000 0x5000>;
|
||||
interrupts = <21>;
|
||||
|
@ -94,7 +71,7 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
mvsdio@90000 {
|
||||
sdio: mvsdio@90000 {
|
||||
compatible = "marvell,orion-sdio";
|
||||
reg = <0x90000 0x200>;
|
||||
interrupts = <28>;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/ {
|
||||
mbus {
|
||||
pcie-controller {
|
||||
pciec: pcie-controller {
|
||||
compatible = "marvell,kirkwood-pcie";
|
||||
status = "disabled";
|
||||
device_type = "pci";
|
||||
|
@ -19,7 +19,7 @@
|
|||
0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1.0 MEM */
|
||||
0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1.0 IO */>;
|
||||
|
||||
pcie@1,0 {
|
||||
pcie0: pcie@1,0 {
|
||||
device_type = "pci";
|
||||
assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>;
|
||||
reg = <0x0800 0 0 0 0>;
|
||||
|
@ -36,7 +36,7 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
pcie@2,0 {
|
||||
pcie1: pcie@2,0 {
|
||||
device_type = "pci";
|
||||
assigned-addresses = <0x82001000 0 0x00044000 0 0x2000>;
|
||||
reg = <0x1000 0 0 0 0>;
|
||||
|
@ -56,15 +56,8 @@
|
|||
};
|
||||
ocp@f1000000 {
|
||||
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
compatible = "marvell,88f6282-pinctrl";
|
||||
reg = <0x10000 0x20>;
|
||||
|
||||
pmx_nand: pmx-nand {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
|
||||
"mpp4", "mpp5", "mpp18", "mpp19";
|
||||
marvell,function = "nand";
|
||||
};
|
||||
|
||||
pmx_sata0: pmx-sata0 {
|
||||
marvell,pins = "mpp5", "mpp21", "mpp23";
|
||||
|
@ -74,29 +67,16 @@
|
|||
marvell,pins = "mpp4", "mpp20", "mpp22";
|
||||
marvell,function = "sata1";
|
||||
};
|
||||
pmx_spi: pmx-spi {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
|
||||
marvell,function = "spi";
|
||||
};
|
||||
pmx_twsi0: pmx-twsi0 {
|
||||
marvell,pins = "mpp8", "mpp9";
|
||||
marvell,function = "twsi0";
|
||||
};
|
||||
|
||||
/*
|
||||
* Default I2C1 pinctrl setting on mpp36/mpp37,
|
||||
* overwrite marvell,pins on board level if required.
|
||||
*/
|
||||
pmx_twsi1: pmx-twsi1 {
|
||||
marvell,pins = "mpp36", "mpp37";
|
||||
marvell,function = "twsi1";
|
||||
};
|
||||
|
||||
pmx_uart0: pmx-uart0 {
|
||||
marvell,pins = "mpp10", "mpp11";
|
||||
marvell,function = "uart0";
|
||||
};
|
||||
|
||||
pmx_uart1: pmx-uart1 {
|
||||
marvell,pins = "mpp13", "mpp14";
|
||||
marvell,function = "uart1";
|
||||
};
|
||||
pmx_sdio: pmx-sdio {
|
||||
marvell,pins = "mpp12", "mpp13", "mpp14",
|
||||
"mpp15", "mpp16", "mpp17";
|
||||
|
@ -104,20 +84,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
thermal@10078 {
|
||||
thermal: thermal@10078 {
|
||||
compatible = "marvell,kirkwood-thermal";
|
||||
reg = <0x10078 0x4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
rtc@10300 {
|
||||
rtc: rtc@10300 {
|
||||
compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
|
||||
reg = <0x10300 0x20>;
|
||||
interrupts = <53>;
|
||||
clocks = <&gate_clk 7>;
|
||||
};
|
||||
|
||||
i2c@11100 {
|
||||
i2c1: i2c@11100 {
|
||||
compatible = "marvell,mv64xxx-i2c";
|
||||
reg = <0x11100 0x20>;
|
||||
#address-cells = <1>;
|
||||
|
@ -125,10 +105,12 @@
|
|||
interrupts = <32>;
|
||||
clock-frequency = <100000>;
|
||||
clocks = <&gate_clk 7>;
|
||||
pinctrl-0 = <&pmx_twsi1>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
sata@80000 {
|
||||
sata: sata@80000 {
|
||||
compatible = "marvell,orion-sata";
|
||||
reg = <0x80000 0x5000>;
|
||||
interrupts = <21>;
|
||||
|
@ -139,7 +121,7 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
mvsdio@90000 {
|
||||
sdio: mvsdio@90000 {
|
||||
compatible = "marvell,orion-sdio";
|
||||
reg = <0x90000 0x200>;
|
||||
interrupts = <28>;
|
||||
|
|
|
@ -1,31 +1,8 @@
|
|||
/ {
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
compatible = "marvell,98dx4122-pinctrl";
|
||||
reg = <0x10000 0x20>;
|
||||
|
||||
pmx_nand: pmx-nand {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
|
||||
"mpp4", "mpp5", "mpp18",
|
||||
"mpp19";
|
||||
marvell,function = "nand";
|
||||
};
|
||||
pmx_spi: pmx-spi {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
|
||||
marvell,function = "spi";
|
||||
};
|
||||
pmx_twsi0: pmx-twsi0 {
|
||||
marvell,pins = "mpp8", "mpp9";
|
||||
marvell,function = "twsi0";
|
||||
};
|
||||
pmx_uart0: pmx-uart0 {
|
||||
marvell,pins = "mpp10", "mpp11";
|
||||
marvell,function = "uart0";
|
||||
};
|
||||
pmx_uart1: pmx-uart1 {
|
||||
marvell,pins = "mpp13", "mpp14";
|
||||
marvell,function = "uart1";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -44,7 +45,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_button_power: pmx-button-power {
|
||||
marvell,pins = "mpp39";
|
||||
marvell,function = "gpio";
|
||||
|
@ -69,8 +70,6 @@
|
|||
|
||||
spi@10600 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
m25p16@0 {
|
||||
#address-cells = <1>;
|
||||
|
@ -113,8 +112,6 @@
|
|||
* UART0_TX = Testpoint 66
|
||||
* See the Excito Wiki for more details.
|
||||
*/
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_cloudbox_sata0: pmx-cloudbox-sata0 {
|
||||
marvell,pins = "mpp15";
|
||||
marvell,function = "sata0";
|
||||
|
@ -25,9 +26,6 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <166666667>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -39,8 +37,6 @@
|
|||
};
|
||||
|
||||
spi@10600 {
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
|
|
|
@ -22,10 +22,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl@10000 {
|
||||
pin-controller@10000 {
|
||||
pmx_sdio_gpios: pmx-sdio-gpios {
|
||||
marvell,pins = "mpp37", "mpp38";
|
||||
marvell,function = "gpio";
|
||||
|
@ -33,10 +34,7 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <200000000>;
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sata@80000 {
|
||||
|
@ -59,8 +57,6 @@
|
|||
};
|
||||
|
||||
&nand {
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
chip-delay = <25>;
|
||||
status = "okay";
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
|
@ -51,8 +52,6 @@
|
|||
};
|
||||
|
||||
serial@12100 {
|
||||
pinctrl-0 = <&pmx_uart1>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
|
||||
pinctrl-0 = <&pmx_power_back_on &pmx_present_sata0
|
||||
&pmx_present_sata1 &pmx_fan_tacho
|
||||
|
@ -183,8 +183,6 @@
|
|||
};
|
||||
|
||||
&nand {
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
chip-delay = <35>;
|
||||
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_usb_power_enable: pmx-usb-power-enable {
|
||||
marvell,pins = "mpp29";
|
||||
marvell,function = "gpio";
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_led_bluetooth: pmx-led-bluetooth {
|
||||
marvell,pins = "mpp47";
|
||||
marvell,function = "gpio";
|
||||
|
@ -37,8 +38,6 @@
|
|||
|
||||
spi@10600 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
m25p40@0 {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-150-32-35 {
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-150-32-35 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-1 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-1 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-150-32-35 {
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-150-32-35 {
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-1 {
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-100-32-35 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-150-15-18 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-150-32-35 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-1 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-150-15-18 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-1 {
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_usb_power_enable: pmx-usb-power-enable {
|
||||
marvell,pins = "mpp29";
|
||||
marvell,function = "gpio";
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_led_health_r: pmx-led-health-r {
|
||||
marvell,pins = "mpp46";
|
||||
marvell,function = "gpio";
|
||||
|
@ -36,7 +37,6 @@
|
|||
};
|
||||
};
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
|
@ -101,13 +101,19 @@
|
|||
status = "okay";
|
||||
|
||||
ethphy0: ethernet-phy@0 {
|
||||
compatible = "marvell,88e1121";
|
||||
/* Marvell 88E1121R */
|
||||
compatible = "ethernet-phy-id0141.0cb0",
|
||||
"ethernet-phy-ieee802.3-c22";
|
||||
reg = <0>;
|
||||
phy-connection-type = "rgmii-id";
|
||||
};
|
||||
|
||||
ethphy1: ethernet-phy@1 {
|
||||
compatible = "marvell,88e1121";
|
||||
/* Marvell 88E1121R */
|
||||
compatible = "ethernet-phy-id0141.0cb0",
|
||||
"ethernet-phy-ieee802.3-c22";
|
||||
reg = <1>;
|
||||
phy-connection-type = "rgmii-id";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_led_os_red: pmx-led-os-red {
|
||||
marvell,pins = "mpp22";
|
||||
marvell,function = "gpio";
|
||||
|
@ -104,8 +105,6 @@
|
|||
|
||||
&nand {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
linux,initrd-start = <0x4500040>;
|
||||
linux,initrd-end = <0x4800000>;
|
||||
};
|
||||
|
@ -29,7 +30,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_button_reset: pmx-button-reset {
|
||||
marvell,pins = "mpp12";
|
||||
marvell,function = "gpio";
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-0 = < &pmx_led_sata_brt_ctrl_1
|
||||
&pmx_led_sata_brt_ctrl_2
|
||||
&pmx_led_backup_brt_ctrl_1
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
@ -45,9 +46,7 @@
|
|||
};
|
||||
|
||||
&nand {
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
chip-delay = <25>;
|
||||
};
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -37,14 +38,10 @@
|
|||
|
||||
ocp@f1000000 {
|
||||
serial@12000 {
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
i2c@11000 {
|
||||
pinctrl-0 = <&pmx_twsi0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
eeprom@50 {
|
||||
|
@ -54,7 +51,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_usb_power_enable: pmx-usb-power-enable {
|
||||
marvell,pins = "mpp14";
|
||||
marvell,function = "gpio";
|
||||
|
@ -139,7 +136,6 @@
|
|||
&nand {
|
||||
/* Total size : 512MB */
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
|
|
|
@ -4,10 +4,11 @@
|
|||
/ {
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_power_hdd: pmx-power-hdd {
|
||||
marvell,pins = "mpp10";
|
||||
marvell,function = "gpo";
|
||||
|
|
|
@ -12,9 +12,10 @@
|
|||
reg = <0x00000000 0x20000000>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
};
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
pcie-controller {
|
||||
|
@ -27,7 +28,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_led_health: pmx-led-health {
|
||||
marvell,pins = "mpp7";
|
||||
marvell,function = "gpo";
|
||||
|
@ -89,11 +90,9 @@
|
|||
|
||||
};
|
||||
|
||||
serial@12000 {
|
||||
status = "ok";
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
serial@12000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
rtc@10300 {
|
||||
status = "disabled";
|
||||
|
@ -163,8 +162,6 @@
|
|||
};
|
||||
|
||||
&nand {
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
partition@0 {
|
||||
|
|
|
@ -28,10 +28,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl@10000 {
|
||||
pin-controller@10000 {
|
||||
pmx_usb_led: pmx-usb-led {
|
||||
marvell,pins = "mpp12";
|
||||
marvell,function = "gpo";
|
||||
|
@ -49,8 +50,6 @@
|
|||
};
|
||||
|
||||
spi@10600 {
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
|
@ -64,10 +63,7 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <200000000>;
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ehci@50000 {
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -38,7 +39,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_button_power: pmx-button-power {
|
||||
marvell,pins = "mpp47";
|
||||
marvell,function = "gpio";
|
||||
|
@ -112,8 +113,6 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -40,7 +41,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_button_power: pmx-button-power {
|
||||
marvell,pins = "mpp47";
|
||||
marvell,function = "gpio";
|
||||
|
@ -119,8 +120,6 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -4,10 +4,11 @@
|
|||
/ {
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_ns2_sata0: pmx-ns2-sata0 {
|
||||
marvell,pins = "mpp21";
|
||||
marvell,function = "sata0";
|
||||
|
@ -19,14 +20,10 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@10600 {
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
|
@ -45,8 +42,6 @@
|
|||
};
|
||||
|
||||
i2c@11000 {
|
||||
pinctrl-0 = <&pmx_twsi0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
eeprom@50 {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/dts-v1/;
|
||||
|
||||
#include "kirkwood-nsa310-common.dtsi"
|
||||
#include "kirkwood-nsa3x0-common.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
||||
|
@ -12,6 +12,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -25,7 +26,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-0 = <&pmx_unknown>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
@ -59,26 +60,6 @@
|
|||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_reset: pmx-btn-reset {
|
||||
marvell,pins = "mpp36";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_copy: pmx-btn-copy {
|
||||
marvell,pins = "mpp37";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_copy_green: pmx-led-copy-green {
|
||||
marvell,pins = "mpp39";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_copy_red: pmx-led-copy-red {
|
||||
marvell,pins = "mpp40";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_hdd_green: pmx-led-hdd-green {
|
||||
marvell,pins = "mpp41";
|
||||
marvell,function = "gpio";
|
||||
|
@ -94,10 +75,6 @@
|
|||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_power: pmx-btn-power {
|
||||
marvell,pins = "mpp46";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
||||
i2c@11000 {
|
||||
|
@ -110,30 +87,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
button@1 {
|
||||
label = "Power Button";
|
||||
linux,code = <KEY_POWER>;
|
||||
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
button@2 {
|
||||
label = "Copy Button";
|
||||
linux,code = <KEY_COPY>;
|
||||
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
button@3 {
|
||||
label = "Reset Button";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&pmx_led_esata_green &pmx_led_esata_red
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/dts-v1/;
|
||||
|
||||
#include "kirkwood-nsa310-common.dtsi"
|
||||
#include "kirkwood-nsa3x0-common.dtsi"
|
||||
|
||||
/*
|
||||
* There are at least two different NSA310 designs. This variant does
|
||||
|
@ -17,10 +17,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-names = "default";
|
||||
|
||||
pmx_led_esata_green: pmx-led-esata-green {
|
||||
|
@ -38,11 +39,6 @@
|
|||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_usb_power_off: pmx-usb-power-off {
|
||||
marvell,pins = "mpp21";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_sys_green: pmx-led-sys-green {
|
||||
marvell,pins = "mpp28";
|
||||
marvell,function = "gpio";
|
||||
|
@ -53,26 +49,6 @@
|
|||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_reset: pmx-btn-reset {
|
||||
marvell,pins = "mpp36";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_copy: pmx-btn-copy {
|
||||
marvell,pins = "mpp37";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_copy_green: pmx-led-copy-green {
|
||||
marvell,pins = "mpp39";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_copy_red: pmx-led-copy-red {
|
||||
marvell,pins = "mpp40";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_hdd_green: pmx-led-hdd-green {
|
||||
marvell,pins = "mpp41";
|
||||
marvell,function = "gpio";
|
||||
|
@ -83,11 +59,6 @@
|
|||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_power: pmx-btn-power {
|
||||
marvell,pins = "mpp46";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
i2c@11000 {
|
||||
|
@ -100,28 +71,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
button@1 {
|
||||
label = "Power Button";
|
||||
linux,code = <KEY_POWER>;
|
||||
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
button@2 {
|
||||
label = "Copy Button";
|
||||
linux,code = <KEY_COPY>;
|
||||
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
button@3 {
|
||||
label = "Reset Button";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
|
|
|
@ -0,0 +1,215 @@
|
|||
/* Device tree file for the Zyxel NSA 320 NAS box.
|
||||
*
|
||||
* Copyright (c) 2014, Adam Baker <linux@baker-net.org.uk>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version
|
||||
* 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* Based upon the board setup file created by Peter Schildmann */
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "kirkwood-nsa3x0-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Zyxel NSA320";
|
||||
compatible = "zyxel,nsa320", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x20000000>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
pcie-controller {
|
||||
status = "okay";
|
||||
|
||||
pcie@1,0 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-names = "default";
|
||||
|
||||
/* SATA Activity and Present pins are not connected */
|
||||
pmx_sata0: pmx-sata0 {
|
||||
marvell,pins ;
|
||||
marvell,function = "sata0";
|
||||
};
|
||||
|
||||
pmx_sata1: pmx-sata1 {
|
||||
marvell,pins ;
|
||||
marvell,function = "sata1";
|
||||
};
|
||||
|
||||
pmx_led_hdd2_green: pmx-led-hdd2-green {
|
||||
marvell,pins = "mpp12";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_hdd2_red: pmx-led-hdd2-red {
|
||||
marvell,pins = "mpp13";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_mcu_data: pmx-mcu-data {
|
||||
marvell,pins = "mpp14";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_usb_green: pmx-led-usb-green {
|
||||
marvell,pins = "mpp15";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_mcu_clk: pmx-mcu-clk {
|
||||
marvell,pins = "mpp16";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_mcu_act: pmx-mcu-act {
|
||||
marvell,pins = "mpp17";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_sys_green: pmx-led-sys-green {
|
||||
marvell,pins = "mpp28";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_sys_orange: pmx-led-sys-orange {
|
||||
marvell,pins = "mpp29";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_hdd1_green: pmx-led-hdd1-green {
|
||||
marvell,pins = "mpp41";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_hdd1_red: pmx-led-hdd1-red {
|
||||
marvell,pins = "mpp42";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_htp: pmx-htp {
|
||||
marvell,pins = "mpp43";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
/* Buzzer needs to be switched at around 1kHz so is
|
||||
not compatible with the gpio-beeper driver. */
|
||||
pmx_buzzer: pmx-buzzer {
|
||||
marvell,pins = "mpp44";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_vid_b1: pmx-vid-b1 {
|
||||
marvell,pins = "mpp45";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_power_resume_data: pmx-power-resume-data {
|
||||
marvell,pins = "mpp47";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_power_resume_clk: pmx-power-resume-clk {
|
||||
marvell,pins = "mpp49";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
||||
i2c@11000 {
|
||||
status = "okay";
|
||||
|
||||
pcf8563: pcf8563@51 {
|
||||
compatible = "nxp,pcf8563";
|
||||
reg = <0x51>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
regulators {
|
||||
usb0_power: regulator@1 {
|
||||
enable-active-high;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-0 = <&pmx_led_hdd2_green &pmx_led_hdd2_red
|
||||
&pmx_led_usb_green
|
||||
&pmx_led_sys_green &pmx_led_sys_orange
|
||||
&pmx_led_copy_green &pmx_led_copy_red
|
||||
&pmx_led_hdd1_green &pmx_led_hdd1_red>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
green-sys {
|
||||
label = "nsa320:green:sys";
|
||||
gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
orange-sys {
|
||||
label = "nsa320:orange:sys";
|
||||
gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
green-hdd1 {
|
||||
label = "nsa320:green:hdd1";
|
||||
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
red-hdd1 {
|
||||
label = "nsa320:red:hdd1";
|
||||
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
green-hdd2 {
|
||||
label = "nsa320:green:hdd2";
|
||||
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
red-hdd2 {
|
||||
label = "nsa320:red:hdd2";
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
green-usb {
|
||||
label = "nsa320:green:usb";
|
||||
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
green-copy {
|
||||
label = "nsa320:green:copy";
|
||||
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
red-copy {
|
||||
label = "nsa320:red:copy";
|
||||
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
/* The following pins are currently not assigned to a driver,
|
||||
some of them should be configured as inputs.
|
||||
pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act
|
||||
&pmx_htp &pmx_vid_b1
|
||||
&pmx_power_resume_data &pmx_power_resume_clk>; */
|
||||
};
|
||||
|
||||
&mdio {
|
||||
status = "okay";
|
||||
ethphy0: ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
ð0 {
|
||||
status = "okay";
|
||||
ethernet0-port@0 {
|
||||
phy-handle = <ðphy0>;
|
||||
};
|
||||
};
|
|
@ -5,17 +5,42 @@
|
|||
model = "ZyXEL NSA310";
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
|
||||
pmx_usb_power_off: pmx-usb-power-off {
|
||||
pmx_usb_power: pmx-usb-power {
|
||||
marvell,pins = "mpp21";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_pwr_off: pmx-pwr-off {
|
||||
marvell,pins = "mpp48";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_reset: pmx-btn-reset {
|
||||
marvell,pins = "mpp36";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_copy: pmx-btn-copy {
|
||||
marvell,pins = "mpp37";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_btn_power: pmx-btn-power {
|
||||
marvell,pins = "mpp46";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_copy_green: pmx-led-copy-green {
|
||||
marvell,pins = "mpp39";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_led_copy_red: pmx-led-copy-red {
|
||||
marvell,pins = "mpp40";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
||||
serial@12000 {
|
||||
|
@ -43,17 +68,42 @@
|
|||
gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
button@1 {
|
||||
label = "Power Button";
|
||||
linux,code = <KEY_POWER>;
|
||||
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
button@2 {
|
||||
label = "Copy Button";
|
||||
linux,code = <KEY_COPY>;
|
||||
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
button@3 {
|
||||
label = "Reset Button";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
regulators {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-0 = <&pmx_usb_power_off>;
|
||||
pinctrl-0 = <&pmx_usb_power>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
usb0_power_off: regulator@1 {
|
||||
usb0_power: regulator@1 {
|
||||
compatible = "regulator-fixed";
|
||||
reg = <1>;
|
||||
regulator-name = "USB Power Off";
|
||||
regulator-name = "USB Power";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
regulator-always-on;
|
|
@ -14,19 +14,16 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
serial@12000 {
|
||||
status = "ok";
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
serial@12100 {
|
||||
status = "ok";
|
||||
pinctrl-0 = <&pmx_uart1>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sata@80000 {
|
||||
|
@ -36,8 +33,6 @@
|
|||
|
||||
i2c@11100 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_twsi1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
s35390a: s35390a@30 {
|
||||
compatible = "sii,s35390a";
|
||||
|
@ -45,7 +40,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
@ -133,8 +128,6 @@
|
|||
&nand {
|
||||
chip-delay = <25>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
|
|
|
@ -26,19 +26,16 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
serial@12000 {
|
||||
status = "ok";
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
serial@12100 {
|
||||
status = "ok";
|
||||
pinctrl-0 = <&pmx_uart1>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sata@80000 {
|
||||
|
@ -48,8 +45,6 @@
|
|||
|
||||
i2c@11100 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_twsi1>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
s24c02: s24c02@50 {
|
||||
compatible = "atmel,24c02";
|
||||
|
@ -57,7 +52,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
@ -109,13 +104,6 @@
|
|||
marvell,pins = "mpp41", "mpp42", "mpp43";
|
||||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
pmx_ge1: pmx-ge1 {
|
||||
marvell,pins = "mpp20", "mpp21", "mpp22", "mpp23",
|
||||
"mpp24", "mpp25", "mpp26", "mpp27",
|
||||
"mpp30", "mpp31", "mpp32", "mpp33";
|
||||
marvell,function = "ge1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -158,8 +146,6 @@
|
|||
&nand {
|
||||
chip-delay = <25>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
|
@ -213,8 +199,6 @@
|
|||
|
||||
ð1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_ge1>;
|
||||
pinctrl-names = "default";
|
||||
ethernet1-port@0 {
|
||||
phy-handle = <ðphy1>;
|
||||
};
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -39,7 +40,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-0 = <&pmx_usb_power>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
@ -56,8 +57,6 @@
|
|||
|
||||
spi@10600 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
m25p128@0 {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -35,7 +36,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-0 = <&pmx_sdio_cd>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-3 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-150-15-18 {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
gpio-fan-100-15-35-3 {
|
||||
|
|
|
@ -17,10 +17,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
|
||||
pmx_usb_power_enable: pmx-usb-power-enable {
|
||||
marvell,pins = "mpp29";
|
||||
|
@ -44,8 +45,6 @@
|
|||
};
|
||||
};
|
||||
serial@12000 {
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
@ -72,8 +71,6 @@
|
|||
};
|
||||
|
||||
&nand {
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
partition@0 {
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pmx_alarmled_12: pmx-alarmled-12 {
|
||||
marvell,pins = "mpp12";
|
||||
marvell,function = "gpio";
|
||||
|
@ -213,8 +213,6 @@
|
|||
|
||||
spi@10600 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
|
@ -259,8 +257,6 @@
|
|||
i2c@11000 {
|
||||
status = "okay";
|
||||
clock-frequency = <400000>;
|
||||
pinctrl-0 = <&pmx_twsi0>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
rs5c372: rs5c372@32 {
|
||||
status = "disabled";
|
||||
|
@ -277,14 +273,10 @@
|
|||
|
||||
serial@12000 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
serial@12100 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_uart1>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
poweroff@12100 {
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -40,7 +41,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-0 = <&pmx_i2s &pmx_sysrst>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
@ -64,10 +65,6 @@
|
|||
marvell,function = "gpio";
|
||||
};
|
||||
|
||||
/*
|
||||
* Redefined from kirkwood-6281.dtsi, because
|
||||
* we don't use SPI CS on MPP0, but on MPP7.
|
||||
*/
|
||||
pmx_spi: pmx-spi {
|
||||
marvell,pins = "mpp1", "mpp2", "mpp3", "mpp7";
|
||||
marvell,function = "spi";
|
||||
|
@ -86,8 +83,6 @@
|
|||
};
|
||||
|
||||
spi@10600 {
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
|
@ -131,6 +126,9 @@
|
|||
alc5621: alc5621@1a {
|
||||
compatible = "realtek,alc5621";
|
||||
reg = <0x1a>;
|
||||
#sound-dai-cells = <0>;
|
||||
add-ctrl = <0x3700>;
|
||||
jack-det-ctrl = <0x4810>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -189,6 +187,31 @@
|
|||
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
sound {
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,routing =
|
||||
"Headphone Jack", "HPL",
|
||||
"Headphone Jack", "HPR",
|
||||
"Speaker", "SPKOUT",
|
||||
"Speaker", "SPKOUTN",
|
||||
"MIC1", "Mic Jack",
|
||||
"MIC2", "Mic Jack";
|
||||
simple-audio-card,widgets =
|
||||
"Headphone", "Headphone Jack",
|
||||
"Speaker", "Speaker",
|
||||
"Microphone", "Mic Jack";
|
||||
|
||||
simple-audio-card,mclk-fs = <256>;
|
||||
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&audio>;
|
||||
};
|
||||
|
||||
simple-audio-card,codec {
|
||||
sound-dai = <&alc5621>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mdio {
|
||||
|
|
|
@ -14,10 +14,11 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
/*
|
||||
* Switch positions
|
||||
*
|
||||
|
@ -85,9 +86,7 @@
|
|||
};
|
||||
|
||||
serial@12000 {
|
||||
status = "ok";
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sata@80000 {
|
||||
|
@ -96,9 +95,7 @@
|
|||
};
|
||||
|
||||
i2c@11000 {
|
||||
status = "ok";
|
||||
pinctrl-0 = <&pmx_twsi0>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
mvsdio@90000 {
|
||||
|
@ -175,8 +172,6 @@
|
|||
|
||||
&nand {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
/ {
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
|
||||
pinctrl-0 = <&pmx_ram_size &pmx_board_id>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
};
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
|
||||
pinctrl-0 = <&pmx_ram_size &pmx_board_id>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8";
|
||||
stdout-path = &uart0;
|
||||
};
|
||||
|
||||
mbus {
|
||||
|
@ -25,8 +26,6 @@
|
|||
i2c@11000 {
|
||||
status = "okay";
|
||||
clock-frequency = <400000>;
|
||||
pinctrl-0 = <&pmx_twsi0>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
s35390a: s35390a@30 {
|
||||
compatible = "s35390a";
|
||||
|
@ -34,16 +33,10 @@
|
|||
};
|
||||
};
|
||||
serial@12000 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
serial@12100 {
|
||||
clock-frequency = <200000000>;
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_uart1>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
poweroff@12100 {
|
||||
compatible = "qnap,power-off";
|
||||
|
@ -52,8 +45,6 @@
|
|||
};
|
||||
spi@10600 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
m25p128@0 {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
compatible = "qnap,ts419", "marvell,kirkwood";
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pinctrl@10000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
pinctrl-names = "default";
|
||||
|
||||
pmx_USB_copy_button: pmx-USB-copy-button {
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
|
||||
pcie-io-aperture = <0xf2000000 0x100000>; /* 1 MiB I/O space */
|
||||
|
||||
crypto@0301 {
|
||||
cesa: crypto@0301 {
|
||||
compatible = "marvell,orion-crypto";
|
||||
reg = <MBUS_ID(0xf0, 0x01) 0x30000 0x10000>,
|
||||
<MBUS_ID(0x03, 0x01) 0 0x800>;
|
||||
|
@ -61,6 +61,8 @@
|
|||
chip-delay = <25>;
|
||||
/* set partition map and/or chip-delay in board dts */
|
||||
clocks = <&gate_clk 7>;
|
||||
pinctrl-0 = <&pmx_nand>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
@ -71,13 +73,59 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
pinctrl: pin-controller@10000 {
|
||||
/* set compatible property in SoC file */
|
||||
reg = <0x10000 0x20>;
|
||||
|
||||
pmx_ge1: pmx-ge1 {
|
||||
marvell,pins = "mpp20", "mpp21", "mpp22", "mpp23",
|
||||
"mpp24", "mpp25", "mpp26", "mpp27",
|
||||
"mpp30", "mpp31", "mpp32", "mpp33";
|
||||
marvell,function = "ge1";
|
||||
};
|
||||
|
||||
pmx_nand: pmx-nand {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
|
||||
"mpp4", "mpp5", "mpp18", "mpp19";
|
||||
marvell,function = "nand";
|
||||
};
|
||||
|
||||
/*
|
||||
* Default SPI0 pinctrl setting with CSn on mpp0,
|
||||
* overwrite marvell,pins on board level if required.
|
||||
*/
|
||||
pmx_spi: pmx-spi {
|
||||
marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
|
||||
marvell,function = "spi";
|
||||
};
|
||||
|
||||
pmx_twsi0: pmx-twsi0 {
|
||||
marvell,pins = "mpp8", "mpp9";
|
||||
marvell,function = "twsi0";
|
||||
};
|
||||
|
||||
/*
|
||||
* Default UART pinctrl setting without RTS/CTS,
|
||||
* overwrite marvell,pins on board level if required.
|
||||
*/
|
||||
pmx_uart0: pmx-uart0 {
|
||||
marvell,pins = "mpp10", "mpp11";
|
||||
marvell,function = "uart0";
|
||||
};
|
||||
|
||||
pmx_uart1: pmx-uart1 {
|
||||
marvell,pins = "mpp13", "mpp14";
|
||||
marvell,function = "uart1";
|
||||
};
|
||||
};
|
||||
|
||||
core_clk: core-clocks@10030 {
|
||||
compatible = "marvell,kirkwood-core-clock";
|
||||
reg = <0x10030 0x4>;
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
spi@10600 {
|
||||
spi0: spi@10600 {
|
||||
compatible = "marvell,orion-spi";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
@ -85,6 +133,8 @@
|
|||
interrupts = <23>;
|
||||
reg = <0x10600 0x28>;
|
||||
clocks = <&gate_clk 7>;
|
||||
pinctrl-0 = <&pmx_spi>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -120,24 +170,30 @@
|
|||
interrupts = <29>;
|
||||
clock-frequency = <100000>;
|
||||
clocks = <&gate_clk 7>;
|
||||
pinctrl-0 = <&pmx_twsi0>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
serial@12000 {
|
||||
uart0: serial@12000 {
|
||||
compatible = "ns16550a";
|
||||
reg = <0x12000 0x100>;
|
||||
reg-shift = <2>;
|
||||
interrupts = <33>;
|
||||
clocks = <&gate_clk 7>;
|
||||
pinctrl-0 = <&pmx_uart0>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
serial@12100 {
|
||||
uart1: serial@12100 {
|
||||
compatible = "ns16550a";
|
||||
reg = <0x12100 0x100>;
|
||||
reg-shift = <2>;
|
||||
interrupts = <34>;
|
||||
clocks = <&gate_clk 7>;
|
||||
pinctrl-0 = <&pmx_uart1>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -146,7 +202,7 @@
|
|||
reg = <0x20000 0x80>, <0x1500 0x20>;
|
||||
};
|
||||
|
||||
system-controller@20000 {
|
||||
sysc: system-controller@20000 {
|
||||
compatible = "marvell,orion-system-controller";
|
||||
reg = <0x20000 0x120>;
|
||||
};
|
||||
|
@ -196,7 +252,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
ehci@50000 {
|
||||
usb0: ehci@50000 {
|
||||
compatible = "marvell,orion-ehci";
|
||||
reg = <0x50000 0x1000>;
|
||||
interrupts = <19>;
|
||||
|
@ -204,7 +260,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
xor@60800 {
|
||||
dma0: xor@60800 {
|
||||
compatible = "marvell,orion-xor";
|
||||
reg = <0x60800 0x100
|
||||
0x60A00 0x100>;
|
||||
|
@ -224,7 +280,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
xor@60900 {
|
||||
dma1: xor@60900 {
|
||||
compatible = "marvell,orion-xor";
|
||||
reg = <0x60900 0x100
|
||||
0x60B00 0x100>;
|
||||
|
@ -282,6 +338,8 @@
|
|||
reg = <0x76000 0x4000>;
|
||||
clocks = <&gate_clk 19>;
|
||||
marvell,tx-checksum-limit = <1600>;
|
||||
pinctrl-0 = <&pmx_ge1>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
|
||||
ethernet1-port@0 {
|
||||
|
@ -314,6 +372,7 @@
|
|||
|
||||
audio0: audio-controller@a0000 {
|
||||
compatible = "marvell,kirkwood-audio";
|
||||
#sound-dai-cells = <0>;
|
||||
reg = <0xa0000 0x2210>;
|
||||
interrupts = <24>;
|
||||
clocks = <&gate_clk 9>;
|
||||
|
|
Loading…
Reference in New Issue