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