2 * Device Tree file for ITian Square One SQ201 NAS
8 #include <dt-bindings/input/input.h>
11 model = "ITian Square One SQ201";
12 compatible = "itian,sq201", "cortina,gemini";
17 device_type = "memory";
18 reg = <0x00000000 0x8000000>;
22 bootargs = "console=ttyS0,115200n8";
27 compatible = "gpio-keys";
32 debounce_interval = <50>;
34 linux,code = <KEY_SETUP>;
35 label = "factory reset";
36 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
43 label = "sq201:green:info";
44 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
46 linux,default-trigger = "heartbeat";
49 label = "sq201:green:usb";
50 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
51 default-state = "off";
52 linux,default-trigger = "usb-host";
60 reg = <0x30000000 0x01000000>;
64 reg = <0x00000000 0x00120000>;
69 reg = <0x00120000 0x00200000>;
73 reg = <0x00320000 0x00600000>;
76 label = "Application";
77 reg = <0x00920000 0x00600000>;
81 reg = <0x00f20000 0x00020000>;
86 reg = <0x00f40000 0x000a0000>;
90 label = "FIS directory";
91 reg = <0x00fe0000 0x00020000>;
97 cortina,gemini-ata-muxmode = <0>;
98 cortina,gemini-enable-sata-bridge;
104 interrupt-map-mask = <0xf800 0 0 7>;
106 <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */
107 <0x4800 0 0 2 &pci_intc 1>,
108 <0x4800 0 0 3 &pci_intc 2>,
109 <0x4800 0 0 4 &pci_intc 3>,
110 <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */
111 <0x5000 0 0 2 &pci_intc 2>,
112 <0x5000 0 0 3 &pci_intc 3>,
113 <0x5000 0 0 4 &pci_intc 0>,
114 <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */
115 <0x5800 0 0 2 &pci_intc 3>,
116 <0x5800 0 0 3 &pci_intc 0>,
117 <0x5800 0 0 4 &pci_intc 1>,
118 <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */
119 <0x6000 0 0 2 &pci_intc 0>,
120 <0x6000 0 0 3 &pci_intc 1>,
121 <0x6000 0 0 4 &pci_intc 2>;