1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree file for Buffalo Linkstation LS-WVL 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2015, 2016 6*724ba675SRob Herring * Roger Shimizu <rogershimizu@gmail.com> 7*724ba675SRob Herring */ 8*724ba675SRob Herring 9*724ba675SRob Herring/dts-v1/; 10*724ba675SRob Herring#include "kirkwood-linkstation-6282.dtsi" 11*724ba675SRob Herring 12*724ba675SRob Herring/ { 13*724ba675SRob Herring model = "Buffalo Linkstation LS-WVL"; 14*724ba675SRob Herring compatible = "buffalo,lswvl","marvell,kirkwood-88f6282", "marvell,kirkwood"; 15*724ba675SRob Herring 16*724ba675SRob Herring memory { /* 256 MB */ 17*724ba675SRob Herring device_type = "memory"; 18*724ba675SRob Herring reg = <0x00000000 0x10000000>; 19*724ba675SRob Herring }; 20*724ba675SRob Herring 21*724ba675SRob Herring ocp@f1000000 { 22*724ba675SRob Herring pinctrl: pin-controller@10000 { 23*724ba675SRob Herring pmx_power_hdd1: pmx-power-hdd1 { 24*724ba675SRob Herring marvell,pins = "mpp9"; 25*724ba675SRob Herring marvell,function = "gpio"; 26*724ba675SRob Herring }; 27*724ba675SRob Herring pmx_led_hdderr0: pmx-led-hdderr0 { 28*724ba675SRob Herring marvell,pins = "mpp34"; 29*724ba675SRob Herring marvell,function = "gpio"; 30*724ba675SRob Herring }; 31*724ba675SRob Herring pmx_led_hdderr1: pmx-led-hdderr1 { 32*724ba675SRob Herring marvell,pins = "mpp35"; 33*724ba675SRob Herring marvell,function = "gpio"; 34*724ba675SRob Herring }; 35*724ba675SRob Herring }; 36*724ba675SRob Herring 37*724ba675SRob Herring sata@80000 { 38*724ba675SRob Herring nr-ports = <2>; 39*724ba675SRob Herring }; 40*724ba675SRob Herring }; 41*724ba675SRob Herring 42*724ba675SRob Herring gpio_leds { 43*724ba675SRob Herring pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm 44*724ba675SRob Herring &pmx_led_info &pmx_led_power 45*724ba675SRob Herring &pmx_led_function_blue 46*724ba675SRob Herring &pmx_led_hdderr0 47*724ba675SRob Herring &pmx_led_hdderr1>; 48*724ba675SRob Herring 49*724ba675SRob Herring red-hdderr0-led { 50*724ba675SRob Herring label = "linkstation:red:hdderr0"; 51*724ba675SRob Herring gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; 52*724ba675SRob Herring }; 53*724ba675SRob Herring 54*724ba675SRob Herring red-hdderr1-led { 55*724ba675SRob Herring label = "linkstation:red:hdderr1"; 56*724ba675SRob Herring gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; 57*724ba675SRob Herring }; 58*724ba675SRob Herring }; 59*724ba675SRob Herring 60*724ba675SRob Herring regulators { 61*724ba675SRob Herring pinctrl-0 = <&pmx_power_hdd0 &pmx_power_hdd1 &pmx_usb_vbus>; 62*724ba675SRob Herring 63*724ba675SRob Herring hdd_power1: regulator@3 { 64*724ba675SRob Herring compatible = "regulator-fixed"; 65*724ba675SRob Herring reg = <3>; 66*724ba675SRob Herring regulator-name = "HDD1 Power"; 67*724ba675SRob Herring regulator-min-microvolt = <5000000>; 68*724ba675SRob Herring regulator-max-microvolt = <5000000>; 69*724ba675SRob Herring enable-active-high; 70*724ba675SRob Herring regulator-always-on; 71*724ba675SRob Herring regulator-boot-on; 72*724ba675SRob Herring gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>; 73*724ba675SRob Herring }; 74*724ba675SRob Herring }; 75*724ba675SRob Herring}; 76