Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.14-rc2 136 lines 2.6 kB view raw
1/* 2 * Device Tree file for the Gemini-based Raidsonic NAS IB-4220-B 3 */ 4 5/dts-v1/; 6 7#include "gemini.dtsi" 8#include <dt-bindings/input/input.h> 9 10/ { 11 model = "Raidsonic NAS IB-4220-B"; 12 compatible = "raidsonic,ib-4220-b", "cortina,gemini"; 13 #address-cells = <1>; 14 #size-cells = <1>; 15 16 memory { /* 128 MB */ 17 device_type = "memory"; 18 reg = <0x00000000 0x8000000>; 19 }; 20 21 chosen { 22 bootargs = "console=ttyS0,19200n8"; 23 stdout-path = &uart0; 24 }; 25 26 gpio_keys { 27 compatible = "gpio-keys"; 28 #address-cells = <1>; 29 #size-cells = <0>; 30 31 button@29 { 32 debounce_interval = <50>; 33 wakeup-source; 34 linux,code = <KEY_SETUP>; 35 label = "Backup button"; 36 /* Conflict with TVC */ 37 gpios = <&gpio1 29 GPIO_ACTIVE_LOW>; 38 }; 39 button@31 { 40 debounce_interval = <50>; 41 wakeup-source; 42 linux,code = <KEY_RESTART>; 43 label = "Softreset button"; 44 /* Conflict with TVC */ 45 gpios = <&gpio1 31 GPIO_ACTIVE_LOW>; 46 }; 47 }; 48 49 leds { 50 compatible = "gpio-leds"; 51 led@28 { 52 label = "nas4220b:orange:hdd"; 53 /* Conflict with TVC */ 54 gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; 55 default-state = "on"; 56 }; 57 led@30 { 58 label = "nas4220b:green:os"; 59 /* Conflict with TVC */ 60 gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; 61 default-state = "on"; 62 linux,default-trigger = "heartbeat"; 63 }; 64 }; 65 66 soc { 67 flash@30000000 { 68 status = "okay"; 69 /* 16MB of flash */ 70 reg = <0x30000000 0x01000000>; 71 72 partition@0 { 73 label = "RedBoot"; 74 reg = <0x00000000 0x00020000>; 75 read-only; 76 }; 77 partition@20000 { 78 label = "Kernel"; 79 reg = <0x00020000 0x00300000>; 80 }; 81 partition@320000 { 82 label = "Ramdisk"; 83 reg = <0x00320000 0x00600000>; 84 }; 85 partition@920000 { 86 label = "Application"; 87 reg = <0x00920000 0x00600000>; 88 }; 89 partition@f20000 { 90 label = "VCTL"; 91 reg = <0x00f20000 0x00020000>; 92 read-only; 93 }; 94 partition@f40000 { 95 label = "CurConf"; 96 reg = <0x00f40000 0x000a0000>; 97 read-only; 98 }; 99 partition@fe0000 { 100 label = "FIS directory"; 101 reg = <0x00fe0000 0x00020000>; 102 read-only; 103 }; 104 }; 105 106 syscon: syscon@40000000 { 107 pinctrl { 108 /* 109 * gpio1dgrp cover line 28-31 otherwise used 110 * by TVC. 111 */ 112 gpio1_default_pins: pinctrl-gpio1 { 113 mux { 114 function = "gpio1"; 115 groups = "gpio1dgrp"; 116 }; 117 }; 118 }; 119 }; 120 121 sata: sata@46000000 { 122 cortina,gemini-ata-muxmode = <0>; 123 cortina,gemini-enable-sata-bridge; 124 status = "okay"; 125 }; 126 127 gpio1: gpio@4e000000 { 128 pinctrl-names = "default"; 129 pinctrl-0 = <&gpio1_default_pins>; 130 }; 131 132 ata@63000000 { 133 status = "okay"; 134 }; 135 }; 136};