1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree file for LaCie 5Big Network v2 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2014 6*724ba675SRob Herring * 7*724ba675SRob Herring * Andrew Lunn <andrew@lunn.ch> 8*724ba675SRob Herring * 9*724ba675SRob Herring * Based on netxbig_v2-setup.c, 10*724ba675SRob Herring * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com> 11*724ba675SRob Herring * 12*724ba675SRob Herring*/ 13*724ba675SRob Herring 14*724ba675SRob Herring/dts-v1/; 15*724ba675SRob Herring 16*724ba675SRob Herring#include "kirkwood.dtsi" 17*724ba675SRob Herring#include "kirkwood-6281.dtsi" 18*724ba675SRob Herring#include "kirkwood-netxbig.dtsi" 19*724ba675SRob Herring 20*724ba675SRob Herring/ { 21*724ba675SRob Herring model = "LaCie 5Big Network v2"; 22*724ba675SRob Herring compatible = "lacie,net5big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 23*724ba675SRob Herring 24*724ba675SRob Herring memory { 25*724ba675SRob Herring device_type = "memory"; 26*724ba675SRob Herring reg = <0x00000000 0x20000000>; 27*724ba675SRob Herring }; 28*724ba675SRob Herring 29*724ba675SRob Herring}; 30*724ba675SRob Herring 31*724ba675SRob Herring®ulators { 32*724ba675SRob Herring regulator@2 { 33*724ba675SRob Herring compatible = "regulator-fixed"; 34*724ba675SRob Herring reg = <2>; 35*724ba675SRob Herring regulator-name = "hdd1power"; 36*724ba675SRob Herring regulator-min-microvolt = <5000000>; 37*724ba675SRob Herring regulator-max-microvolt = <5000000>; 38*724ba675SRob Herring enable-active-high; 39*724ba675SRob Herring regulator-always-on; 40*724ba675SRob Herring regulator-boot-on; 41*724ba675SRob Herring gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring regulator@3 { 45*724ba675SRob Herring compatible = "regulator-fixed"; 46*724ba675SRob Herring reg = <3>; 47*724ba675SRob Herring regulator-name = "hdd2power"; 48*724ba675SRob Herring regulator-min-microvolt = <5000000>; 49*724ba675SRob Herring regulator-max-microvolt = <5000000>; 50*724ba675SRob Herring enable-active-high; 51*724ba675SRob Herring regulator-always-on; 52*724ba675SRob Herring regulator-boot-on; 53*724ba675SRob Herring gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; 54*724ba675SRob Herring }; 55*724ba675SRob Herring 56*724ba675SRob Herring regulator@4 { 57*724ba675SRob Herring compatible = "regulator-fixed"; 58*724ba675SRob Herring reg = <4>; 59*724ba675SRob Herring regulator-name = "hdd3power"; 60*724ba675SRob Herring regulator-min-microvolt = <5000000>; 61*724ba675SRob Herring regulator-max-microvolt = <5000000>; 62*724ba675SRob Herring enable-active-high; 63*724ba675SRob Herring regulator-always-on; 64*724ba675SRob Herring regulator-boot-on; 65*724ba675SRob Herring gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>; 66*724ba675SRob Herring }; 67*724ba675SRob Herring 68*724ba675SRob Herring regulator@5 { 69*724ba675SRob Herring compatible = "regulator-fixed"; 70*724ba675SRob Herring reg = <5>; 71*724ba675SRob Herring regulator-name = "hdd4power"; 72*724ba675SRob Herring regulator-min-microvolt = <5000000>; 73*724ba675SRob Herring regulator-max-microvolt = <5000000>; 74*724ba675SRob Herring enable-active-high; 75*724ba675SRob Herring regulator-always-on; 76*724ba675SRob Herring regulator-boot-on; 77*724ba675SRob Herring gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>; 78*724ba675SRob Herring }; 79*724ba675SRob Herring 80*724ba675SRob Herring clocks { 81*724ba675SRob Herring g762_clk: g762-oscillator { 82*724ba675SRob Herring compatible = "fixed-clock"; 83*724ba675SRob Herring #clock-cells = <0>; 84*724ba675SRob Herring clock-frequency = <32768>; 85*724ba675SRob Herring }; 86*724ba675SRob Herring }; 87*724ba675SRob Herring 88*724ba675SRob Herring netxbig-leds { 89*724ba675SRob Herring blue-sata2 { 90*724ba675SRob Herring label = "netxbig:blue:sata2"; 91*724ba675SRob Herring mode-addr = <5>; 92*724ba675SRob Herring mode-val = <NETXBIG_LED_OFF 0 93*724ba675SRob Herring NETXBIG_LED_ON 7 94*724ba675SRob Herring NETXBIG_LED_SATA 1 95*724ba675SRob Herring NETXBIG_LED_TIMER1 3>; 96*724ba675SRob Herring bright-addr = <2>; 97*724ba675SRob Herring max-brightness = <7>; 98*724ba675SRob Herring }; 99*724ba675SRob Herring red-sata2 { 100*724ba675SRob Herring label = "netxbig:red:sata2"; 101*724ba675SRob Herring mode-addr = <5>; 102*724ba675SRob Herring mode-val = <NETXBIG_LED_OFF 0 103*724ba675SRob Herring NETXBIG_LED_ON 2 104*724ba675SRob Herring NETXBIG_LED_TIMER1 4>; 105*724ba675SRob Herring bright-addr = <2>; 106*724ba675SRob Herring max-brightness = <7>; 107*724ba675SRob Herring }; 108*724ba675SRob Herring blue-sata3 { 109*724ba675SRob Herring label = "netxbig:blue:sata3"; 110*724ba675SRob Herring mode-addr = <6>; 111*724ba675SRob Herring mode-val = <NETXBIG_LED_OFF 0 112*724ba675SRob Herring NETXBIG_LED_ON 7 113*724ba675SRob Herring NETXBIG_LED_SATA 1 114*724ba675SRob Herring NETXBIG_LED_TIMER1 3>; 115*724ba675SRob Herring bright-addr = <2>; 116*724ba675SRob Herring max-brightness = <7>; 117*724ba675SRob Herring }; 118*724ba675SRob Herring red-sata3 { 119*724ba675SRob Herring label = "netxbig:red:sata3"; 120*724ba675SRob Herring mode-addr = <6>; 121*724ba675SRob Herring mode-val = <NETXBIG_LED_OFF 0 122*724ba675SRob Herring NETXBIG_LED_ON 2 123*724ba675SRob Herring NETXBIG_LED_TIMER1 4>; 124*724ba675SRob Herring bright-addr = <2>; 125*724ba675SRob Herring max-brightness = <7>; 126*724ba675SRob Herring }; 127*724ba675SRob Herring blue-sata4 { 128*724ba675SRob Herring label = "netxbig:blue:sata4"; 129*724ba675SRob Herring mode-addr = <7>; 130*724ba675SRob Herring mode-val = <NETXBIG_LED_OFF 0 131*724ba675SRob Herring NETXBIG_LED_ON 7 132*724ba675SRob Herring NETXBIG_LED_SATA 1 133*724ba675SRob Herring NETXBIG_LED_TIMER1 3>; 134*724ba675SRob Herring bright-addr = <2>; 135*724ba675SRob Herring max-brightness = <7>; 136*724ba675SRob Herring }; 137*724ba675SRob Herring red-sata4 { 138*724ba675SRob Herring label = "netxbig:red:sata4"; 139*724ba675SRob Herring mode-addr = <7>; 140*724ba675SRob Herring mode-val = <NETXBIG_LED_OFF 0 141*724ba675SRob Herring NETXBIG_LED_ON 2 142*724ba675SRob Herring NETXBIG_LED_TIMER1 4>; 143*724ba675SRob Herring bright-addr = <2>; 144*724ba675SRob Herring max-brightness = <7>; 145*724ba675SRob Herring }; 146*724ba675SRob Herring }; 147*724ba675SRob Herring}; 148*724ba675SRob Herring 149*724ba675SRob Herring&mdio { 150*724ba675SRob Herring ethphy1: ethernet-phy@1 { 151*724ba675SRob Herring reg = <0>; 152*724ba675SRob Herring }; 153*724ba675SRob Herring}; 154*724ba675SRob Herring 155*724ba675SRob Herringð1 { 156*724ba675SRob Herring status = "okay"; 157*724ba675SRob Herring ethernet1-port@0 { 158*724ba675SRob Herring phy-handle = <ðphy1>; 159*724ba675SRob Herring }; 160*724ba675SRob Herring}; 161*724ba675SRob Herring 162*724ba675SRob Herring 163*724ba675SRob Herring&i2c0 { 164*724ba675SRob Herring g762@3e { 165*724ba675SRob Herring compatible = "gmt,g762"; 166*724ba675SRob Herring reg = <0x3e>; 167*724ba675SRob Herring clocks = <&g762_clk>; 168*724ba675SRob Herring }; 169*724ba675SRob Herring}; 170