1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/dts-v1/; 3*724ba675SRob Herring 4*724ba675SRob Herring#include "kirkwood-nsa3x0-common.dtsi" 5*724ba675SRob Herring 6*724ba675SRob Herring/ { 7*724ba675SRob Herring compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 8*724ba675SRob Herring 9*724ba675SRob Herring memory { 10*724ba675SRob Herring device_type = "memory"; 11*724ba675SRob Herring reg = <0x00000000 0x10000000>; 12*724ba675SRob Herring }; 13*724ba675SRob Herring 14*724ba675SRob Herring chosen { 15*724ba675SRob Herring bootargs = "console=ttyS0,115200"; 16*724ba675SRob Herring stdout-path = &uart0; 17*724ba675SRob Herring }; 18*724ba675SRob Herring 19*724ba675SRob Herring ocp@f1000000 { 20*724ba675SRob Herring pinctrl: pin-controller@10000 { 21*724ba675SRob Herring pinctrl-0 = <&pmx_unknown>; 22*724ba675SRob Herring pinctrl-names = "default"; 23*724ba675SRob Herring 24*724ba675SRob Herring pmx_led_esata_green: pmx-led-esata-green { 25*724ba675SRob Herring marvell,pins = "mpp12"; 26*724ba675SRob Herring marvell,function = "gpio"; 27*724ba675SRob Herring }; 28*724ba675SRob Herring 29*724ba675SRob Herring pmx_led_esata_red: pmx-led-esata-red { 30*724ba675SRob Herring marvell,pins = "mpp13"; 31*724ba675SRob Herring marvell,function = "gpio"; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring pmx_led_usb_green: pmx-led-usb-green { 35*724ba675SRob Herring marvell,pins = "mpp15"; 36*724ba675SRob Herring marvell,function = "gpio"; 37*724ba675SRob Herring }; 38*724ba675SRob Herring 39*724ba675SRob Herring pmx_led_usb_red: pmx-led-usb-red { 40*724ba675SRob Herring marvell,pins = "mpp16"; 41*724ba675SRob Herring marvell,function = "gpio"; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring pmx_led_sys_green: pmx-led-sys-green { 45*724ba675SRob Herring marvell,pins = "mpp28"; 46*724ba675SRob Herring marvell,function = "gpio"; 47*724ba675SRob Herring }; 48*724ba675SRob Herring 49*724ba675SRob Herring pmx_led_sys_red: pmx-led-sys-red { 50*724ba675SRob Herring marvell,pins = "mpp29"; 51*724ba675SRob Herring marvell,function = "gpio"; 52*724ba675SRob Herring }; 53*724ba675SRob Herring 54*724ba675SRob Herring pmx_led_hdd_green: pmx-led-hdd-green { 55*724ba675SRob Herring marvell,pins = "mpp41"; 56*724ba675SRob Herring marvell,function = "gpio"; 57*724ba675SRob Herring }; 58*724ba675SRob Herring 59*724ba675SRob Herring pmx_led_hdd_red: pmx-led-hdd-red { 60*724ba675SRob Herring marvell,pins = "mpp42"; 61*724ba675SRob Herring marvell,function = "gpio"; 62*724ba675SRob Herring }; 63*724ba675SRob Herring 64*724ba675SRob Herring pmx_unknown: pmx-unknown { 65*724ba675SRob Herring marvell,pins = "mpp44"; 66*724ba675SRob Herring marvell,function = "gpio"; 67*724ba675SRob Herring }; 68*724ba675SRob Herring 69*724ba675SRob Herring }; 70*724ba675SRob Herring 71*724ba675SRob Herring i2c@11000 { 72*724ba675SRob Herring status = "okay"; 73*724ba675SRob Herring 74*724ba675SRob Herring adt7476: adt7476a@2e { 75*724ba675SRob Herring compatible = "adi,adt7476"; 76*724ba675SRob Herring reg = <0x2e>; 77*724ba675SRob Herring }; 78*724ba675SRob Herring }; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring gpio-leds { 82*724ba675SRob Herring compatible = "gpio-leds"; 83*724ba675SRob Herring pinctrl-0 = <&pmx_led_esata_green &pmx_led_esata_red 84*724ba675SRob Herring &pmx_led_usb_green &pmx_led_usb_red 85*724ba675SRob Herring &pmx_led_sys_green &pmx_led_sys_red 86*724ba675SRob Herring &pmx_led_copy_green &pmx_led_copy_red 87*724ba675SRob Herring &pmx_led_hdd_green &pmx_led_hdd_red>; 88*724ba675SRob Herring pinctrl-names = "default"; 89*724ba675SRob Herring 90*724ba675SRob Herring green-sys { 91*724ba675SRob Herring label = "nsa310:green:sys"; 92*724ba675SRob Herring gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; 93*724ba675SRob Herring }; 94*724ba675SRob Herring red-sys { 95*724ba675SRob Herring label = "nsa310:red:sys"; 96*724ba675SRob Herring gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; 97*724ba675SRob Herring }; 98*724ba675SRob Herring green-hdd { 99*724ba675SRob Herring label = "nsa310:green:hdd"; 100*724ba675SRob Herring gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; 101*724ba675SRob Herring }; 102*724ba675SRob Herring red-hdd { 103*724ba675SRob Herring label = "nsa310:red:hdd"; 104*724ba675SRob Herring gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; 105*724ba675SRob Herring }; 106*724ba675SRob Herring green-esata { 107*724ba675SRob Herring label = "nsa310:green:esata"; 108*724ba675SRob Herring gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 109*724ba675SRob Herring }; 110*724ba675SRob Herring red-esata { 111*724ba675SRob Herring label = "nsa310:red:esata"; 112*724ba675SRob Herring gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; 113*724ba675SRob Herring }; 114*724ba675SRob Herring green-usb { 115*724ba675SRob Herring label = "nsa310:green:usb"; 116*724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; 117*724ba675SRob Herring }; 118*724ba675SRob Herring red-usb { 119*724ba675SRob Herring label = "nsa310:red:usb"; 120*724ba675SRob Herring gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 121*724ba675SRob Herring }; 122*724ba675SRob Herring green-copy { 123*724ba675SRob Herring label = "nsa310:green:copy"; 124*724ba675SRob Herring gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; 125*724ba675SRob Herring }; 126*724ba675SRob Herring red-copy { 127*724ba675SRob Herring label = "nsa310:red:copy"; 128*724ba675SRob Herring gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 129*724ba675SRob Herring }; 130*724ba675SRob Herring }; 131*724ba675SRob Herring}; 132*724ba675SRob Herring 133*724ba675SRob Herring&pciec { 134*724ba675SRob Herring status = "okay"; 135*724ba675SRob Herring}; 136*724ba675SRob Herring 137*724ba675SRob Herring&pcie0 { 138*724ba675SRob Herring status = "okay"; 139*724ba675SRob Herring}; 140