0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003
0004 #include "kirkwood-nsa3x0-common.dtsi"
0005
0006 /*
0007 * There are at least two different NSA310 designs. This variant does
0008 * not have the red USB Led.
0009 */
0010
0011 / {
0012 compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0013
0014 memory {
0015 device_type = "memory";
0016 reg = <0x00000000 0x10000000>;
0017 };
0018
0019 chosen {
0020 bootargs = "console=ttyS0,115200";
0021 stdout-path = &uart0;
0022 };
0023
0024 ocp@f1000000 {
0025 pinctrl: pin-controller@10000 {
0026 pinctrl-names = "default";
0027
0028 pmx_led_esata_green: pmx-led-esata-green {
0029 marvell,pins = "mpp12";
0030 marvell,function = "gpio";
0031 };
0032
0033 pmx_led_esata_red: pmx-led-esata-red {
0034 marvell,pins = "mpp13";
0035 marvell,function = "gpio";
0036 };
0037
0038 pmx_led_usb_green: pmx-led-usb-green {
0039 marvell,pins = "mpp15";
0040 marvell,function = "gpio";
0041 };
0042
0043 pmx_led_sys_green: pmx-led-sys-green {
0044 marvell,pins = "mpp28";
0045 marvell,function = "gpio";
0046 };
0047
0048 pmx_led_sys_red: pmx-led-sys-red {
0049 marvell,pins = "mpp29";
0050 marvell,function = "gpio";
0051 };
0052
0053 pmx_led_hdd_green: pmx-led-hdd-green {
0054 marvell,pins = "mpp41";
0055 marvell,function = "gpio";
0056 };
0057
0058 pmx_led_hdd_red: pmx-led-hdd-red {
0059 marvell,pins = "mpp42";
0060 marvell,function = "gpio";
0061 };
0062
0063 };
0064
0065 i2c@11000 {
0066 status = "okay";
0067
0068 lm85: lm85@2e {
0069 compatible = "national,lm85";
0070 reg = <0x2e>;
0071 };
0072 };
0073 };
0074
0075 gpio-leds {
0076 compatible = "gpio-leds";
0077
0078 green-sys {
0079 label = "nsa310:green:sys";
0080 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
0081 };
0082 red-sys {
0083 label = "nsa310:red:sys";
0084 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
0085 };
0086 green-hdd {
0087 label = "nsa310:green:hdd";
0088 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
0089 };
0090 red-hdd {
0091 label = "nsa310:red:hdd";
0092 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
0093 };
0094 green-esata {
0095 label = "nsa310:green:esata";
0096 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
0097 };
0098 red-esata {
0099 label = "nsa310:red:esata";
0100 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
0101 };
0102 green-usb {
0103 label = "nsa310:green:usb";
0104 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
0105 };
0106 green-copy {
0107 label = "nsa310:green:copy";
0108 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
0109 };
0110 red-copy {
0111 label = "nsa310:red:copy";
0112 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
0113 };
0114 };
0115 };