1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring 4724ba675SRob Herring#include "kirkwood-nsa3x0-common.dtsi" 5724ba675SRob Herring 6724ba675SRob Herring/* 7724ba675SRob Herring * There are at least two different NSA310 designs. This variant does 8724ba675SRob Herring * not have the red USB Led. 9724ba675SRob Herring */ 10724ba675SRob Herring 11724ba675SRob Herring/ { 12724ba675SRob Herring compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 13724ba675SRob Herring 14724ba675SRob Herring memory { 15724ba675SRob Herring device_type = "memory"; 16724ba675SRob Herring reg = <0x00000000 0x10000000>; 17724ba675SRob Herring }; 18724ba675SRob Herring 19724ba675SRob Herring chosen { 20724ba675SRob Herring bootargs = "console=ttyS0,115200"; 21724ba675SRob Herring stdout-path = &uart0; 22724ba675SRob Herring }; 23724ba675SRob Herring 24724ba675SRob Herring ocp@f1000000 { 25724ba675SRob Herring pinctrl: pin-controller@10000 { 26724ba675SRob Herring pinctrl-names = "default"; 27724ba675SRob Herring 28724ba675SRob Herring pmx_led_esata_green: pmx-led-esata-green { 29724ba675SRob Herring marvell,pins = "mpp12"; 30724ba675SRob Herring marvell,function = "gpio"; 31724ba675SRob Herring }; 32724ba675SRob Herring 33724ba675SRob Herring pmx_led_esata_red: pmx-led-esata-red { 34724ba675SRob Herring marvell,pins = "mpp13"; 35724ba675SRob Herring marvell,function = "gpio"; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring pmx_led_usb_green: pmx-led-usb-green { 39724ba675SRob Herring marvell,pins = "mpp15"; 40724ba675SRob Herring marvell,function = "gpio"; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring pmx_led_sys_green: pmx-led-sys-green { 44724ba675SRob Herring marvell,pins = "mpp28"; 45724ba675SRob Herring marvell,function = "gpio"; 46724ba675SRob Herring }; 47724ba675SRob Herring 48724ba675SRob Herring pmx_led_sys_red: pmx-led-sys-red { 49724ba675SRob Herring marvell,pins = "mpp29"; 50724ba675SRob Herring marvell,function = "gpio"; 51724ba675SRob Herring }; 52724ba675SRob Herring 53724ba675SRob Herring pmx_led_hdd_green: pmx-led-hdd-green { 54724ba675SRob Herring marvell,pins = "mpp41"; 55724ba675SRob Herring marvell,function = "gpio"; 56724ba675SRob Herring }; 57724ba675SRob Herring 58724ba675SRob Herring pmx_led_hdd_red: pmx-led-hdd-red { 59724ba675SRob Herring marvell,pins = "mpp42"; 60724ba675SRob Herring marvell,function = "gpio"; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring }; 64724ba675SRob Herring 65724ba675SRob Herring i2c@11000 { 66724ba675SRob Herring status = "okay"; 67724ba675SRob Herring 68724ba675SRob Herring lm85: lm85@2e { 69724ba675SRob Herring compatible = "national,lm85"; 70724ba675SRob Herring reg = <0x2e>; 71724ba675SRob Herring }; 72724ba675SRob Herring }; 73724ba675SRob Herring }; 74724ba675SRob Herring 75724ba675SRob Herring gpio-leds { 76724ba675SRob Herring compatible = "gpio-leds"; 77724ba675SRob Herring 78*9d0120b7SKrzysztof Kozlowski led-green-sys { 79724ba675SRob Herring label = "nsa310:green:sys"; 80724ba675SRob Herring gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; 81724ba675SRob Herring }; 82*9d0120b7SKrzysztof Kozlowski led-red-sys { 83724ba675SRob Herring label = "nsa310:red:sys"; 84724ba675SRob Herring gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; 85724ba675SRob Herring }; 86*9d0120b7SKrzysztof Kozlowski led-green-hdd { 87724ba675SRob Herring label = "nsa310:green:hdd"; 88724ba675SRob Herring gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; 89724ba675SRob Herring }; 90*9d0120b7SKrzysztof Kozlowski led-red-hdd { 91724ba675SRob Herring label = "nsa310:red:hdd"; 92724ba675SRob Herring gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; 93724ba675SRob Herring }; 94*9d0120b7SKrzysztof Kozlowski led-green-esata { 95724ba675SRob Herring label = "nsa310:green:esata"; 96724ba675SRob Herring gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 97724ba675SRob Herring }; 98*9d0120b7SKrzysztof Kozlowski led-red-esata { 99724ba675SRob Herring label = "nsa310:red:esata"; 100724ba675SRob Herring gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; 101724ba675SRob Herring }; 102*9d0120b7SKrzysztof Kozlowski led-green-usb { 103724ba675SRob Herring label = "nsa310:green:usb"; 104724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; 105724ba675SRob Herring }; 106*9d0120b7SKrzysztof Kozlowski led-green-copy { 107724ba675SRob Herring label = "nsa310:green:copy"; 108724ba675SRob Herring gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; 109724ba675SRob Herring }; 110*9d0120b7SKrzysztof Kozlowski led-red-copy { 111724ba675SRob Herring label = "nsa310:red:copy"; 112724ba675SRob Herring gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 113724ba675SRob Herring }; 114724ba675SRob Herring }; 115724ba675SRob Herring}; 116