1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree include file for QNAP TS41X 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2013, Andrew Lunn <andrew@lunn.ch> 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring/ { 9*724ba675SRob Herring model = "QNAP TS419 family"; 10*724ba675SRob Herring compatible = "qnap,ts419", "marvell,kirkwood"; 11*724ba675SRob Herring 12*724ba675SRob Herring ocp@f1000000 { 13*724ba675SRob Herring pinctrl: pin-controller@10000 { 14*724ba675SRob Herring pinctrl-names = "default"; 15*724ba675SRob Herring 16*724ba675SRob Herring pmx_USB_copy_button: pmx-USB-copy-button { 17*724ba675SRob Herring marvell,pins = "mpp43"; 18*724ba675SRob Herring marvell,function = "gpio"; 19*724ba675SRob Herring }; 20*724ba675SRob Herring pmx_reset_button: pmx-reset-button { 21*724ba675SRob Herring marvell,pins = "mpp37"; 22*724ba675SRob Herring marvell,function = "gpio"; 23*724ba675SRob Herring }; 24*724ba675SRob Herring /* 25*724ba675SRob Herring * JP1 indicates if an LCD module is installed 26*724ba675SRob Herring * on the serial port (0), or if the port is used 27*724ba675SRob Herring * as a console (1). 28*724ba675SRob Herring */ 29*724ba675SRob Herring pmx_jumper_jp1: pmx-jumper_jp1 { 30*724ba675SRob Herring marvell,pins = "mpp45"; 31*724ba675SRob Herring marvell,function = "gpio"; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring }; 35*724ba675SRob Herring }; 36*724ba675SRob Herring 37*724ba675SRob Herring gpio_keys { 38*724ba675SRob Herring compatible = "gpio-keys"; 39*724ba675SRob Herring #address-cells = <1>; 40*724ba675SRob Herring #size-cells = <0>; 41*724ba675SRob Herring pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; 42*724ba675SRob Herring pinctrl-names = "default"; 43*724ba675SRob Herring 44*724ba675SRob Herring copy { 45*724ba675SRob Herring label = "USB Copy"; 46*724ba675SRob Herring linux,code = <KEY_COPY>; 47*724ba675SRob Herring gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 48*724ba675SRob Herring }; 49*724ba675SRob Herring reset { 50*724ba675SRob Herring label = "Reset"; 51*724ba675SRob Herring linux,code = <KEY_RESTART>; 52*724ba675SRob Herring gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; 53*724ba675SRob Herring }; 54*724ba675SRob Herring }; 55*724ba675SRob Herring}; 56*724ba675SRob Herring 57*724ba675SRob Herring&mdio { 58*724ba675SRob Herring status = "okay"; 59*724ba675SRob Herring 60*724ba675SRob Herring ethphy1: ethernet-phy@1 { 61*724ba675SRob Herring device_type = "ethernet-phy"; 62*724ba675SRob Herring /* overwrite reg property in board file */ 63*724ba675SRob Herring }; 64*724ba675SRob Herring}; 65*724ba675SRob Herring 66*724ba675SRob Herringð1 { 67*724ba675SRob Herring status = "okay"; 68*724ba675SRob Herring ethernet1-port@0 { 69*724ba675SRob Herring phy-handle = <ðphy1>; 70*724ba675SRob Herring }; 71*724ba675SRob Herring}; 72