1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Device Tree file for the Gemini-based Raids 4 */ 5 6 /dts-v1/; 7 8 #include "gemini.dtsi" 9 #include <dt-bindings/input/input.h> 10 11 / { 12 model = "Raidsonic NAS IB-4220-B"; 13 compatible = "raidsonic,ib-4220-b", "c 14 #address-cells = <1>; 15 #size-cells = <1>; 16 17 memory@0 { /* 128 MB */ 18 device_type = "memory"; 19 reg = <0x00000000 0x8000000>; 20 }; 21 22 chosen { 23 bootargs = "console=ttyS0,1920 24 stdout-path = &uart0; 25 }; 26 27 gpio_keys { 28 compatible = "gpio-keys"; 29 30 button-setup { 31 debounce-interval = <1 32 wakeup-source; 33 linux,code = <KEY_SETU 34 label = "Backup button 35 /* Conflict with TVC * 36 gpios = <&gpio1 29 GPI 37 }; 38 button-restart { 39 debounce-interval = <1 40 wakeup-source; 41 linux,code = <KEY_REST 42 label = "Softreset but 43 /* Conflict with TVC * 44 gpios = <&gpio1 31 GPI 45 }; 46 }; 47 48 leds { 49 compatible = "gpio-leds"; 50 led-orange-hdd { 51 label = "nas4220b:oran 52 /* Conflict with TVC * 53 gpios = <&gpio1 28 GPI 54 default-state = "on"; 55 }; 56 led-green-os { 57 label = "nas4220b:gree 58 /* Conflict with TVC * 59 gpios = <&gpio1 30 GPI 60 default-state = "on"; 61 linux,default-trigger 62 }; 63 }; 64 65 mdio0: mdio { 66 compatible = "virtual,mdio-gpi 67 gpios = <&gpio0 22 GPIO_ACTIVE 68 <&gpio0 21 GPIO_ACTIVE 69 #address-cells = <1>; 70 #size-cells = <0>; 71 72 phy0: ethernet-phy@1 { 73 reg = <1>; 74 device_type = "etherne 75 }; 76 }; 77 78 soc { 79 flash@30000000 { 80 status = "okay"; 81 /* 16MB of flash */ 82 reg = <0x30000000 0x01 83 84 partitions { 85 compatible = " 86 /* Eraseblock 87 fis-index-bloc 88 }; 89 }; 90 91 syscon: syscon@40000000 { 92 pinctrl { 93 /* 94 * gpio1dgrp c 95 * by TVC. 96 */ 97 gpio1_default_ 98 mux { 99 100 101 }; 102 }; 103 pinctrl-gmii { 104 mux { 105 106 107 }; 108 /* Set 109 conf0 110 111 112 }; 113 conf1 114 115 116 }; 117 conf2 118 119 120 }; 121 conf3 122 123 124 }; 125 conf4 126 127 128 }; 129 conf5 130 131 132 133 134 135 136 137 138 139 140 }; 141 /* Set 142 conf6 143 144 145 }; 146 }; 147 }; 148 }; 149 150 sata: sata@46000000 { 151 cortina,gemini-ata-mux 152 cortina,gemini-enable- 153 status = "okay"; 154 }; 155 156 gpio1: gpio@4e000000 { 157 pinctrl-names = "defau 158 pinctrl-0 = <&gpio1_de 159 }; 160 161 ethernet@60000000 { 162 status = "okay"; 163 164 ethernet-port@0 { 165 phy-mode = "rg 166 phy-handle = < 167 }; 168 ethernet-port@1 { 169 /* Not used in 170 }; 171 }; 172 173 ide@63000000 { 174 status = "okay"; 175 }; 176 177 ide@63400000 { 178 status = "okay"; 179 }; 180 181 usb@68000000 { 182 status = "okay"; 183 }; 184 185 usb@69000000 { 186 status = "okay"; 187 }; 188 }; 189 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.