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