1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2724ba675SRob Herring/* 3724ba675SRob Herring * Device Tree include file for QNAP TS41X 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (C) 2013, Andrew Lunn <andrew@lunn.ch> 6724ba675SRob Herring */ 7724ba675SRob Herring 8724ba675SRob Herring/ { 9724ba675SRob Herring model = "QNAP TS419 family"; 10724ba675SRob Herring compatible = "qnap,ts419", "marvell,kirkwood"; 11724ba675SRob Herring 12724ba675SRob Herring ocp@f1000000 { 13724ba675SRob Herring pinctrl: pin-controller@10000 { 14724ba675SRob Herring pinctrl-names = "default"; 15724ba675SRob Herring 16724ba675SRob Herring pmx_USB_copy_button: pmx-USB-copy-button { 17724ba675SRob Herring marvell,pins = "mpp43"; 18724ba675SRob Herring marvell,function = "gpio"; 19724ba675SRob Herring }; 20724ba675SRob Herring pmx_reset_button: pmx-reset-button { 21724ba675SRob Herring marvell,pins = "mpp37"; 22724ba675SRob Herring marvell,function = "gpio"; 23724ba675SRob Herring }; 24724ba675SRob Herring /* 25724ba675SRob Herring * JP1 indicates if an LCD module is installed 26724ba675SRob Herring * on the serial port (0), or if the port is used 27724ba675SRob Herring * as a console (1). 28724ba675SRob Herring */ 29724ba675SRob Herring pmx_jumper_jp1: pmx-jumper_jp1 { 30724ba675SRob Herring marvell,pins = "mpp45"; 31724ba675SRob Herring marvell,function = "gpio"; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring }; 35724ba675SRob Herring }; 36724ba675SRob Herring 37724ba675SRob Herring gpio_keys { 38724ba675SRob Herring compatible = "gpio-keys"; 39724ba675SRob Herring pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; 40724ba675SRob Herring pinctrl-names = "default"; 41724ba675SRob Herring 42*b98a9191SKrzysztof Kozlowski button-copy { 43724ba675SRob Herring label = "USB Copy"; 44724ba675SRob Herring linux,code = <KEY_COPY>; 45724ba675SRob Herring gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 46724ba675SRob Herring }; 47*b98a9191SKrzysztof Kozlowski button-reset { 48724ba675SRob Herring label = "Reset"; 49724ba675SRob Herring linux,code = <KEY_RESTART>; 50724ba675SRob Herring gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; 51724ba675SRob Herring }; 52724ba675SRob Herring }; 53724ba675SRob Herring}; 54724ba675SRob Herring 55724ba675SRob Herring&mdio { 56724ba675SRob Herring status = "okay"; 57724ba675SRob Herring 58724ba675SRob Herring ethphy1: ethernet-phy@1 { 59724ba675SRob Herring device_type = "ethernet-phy"; 60724ba675SRob Herring /* overwrite reg property in board file */ 61724ba675SRob Herring }; 62724ba675SRob Herring}; 63724ba675SRob Herring 64724ba675SRob Herringð1 { 65724ba675SRob Herring status = "okay"; 66724ba675SRob Herring ethernet1-port@0 { 67724ba675SRob Herring phy-handle = <ðphy1>; 68724ba675SRob Herring }; 69724ba675SRob Herring}; 70