OpenWrt – Blame information for rev 1
?pathlinks?
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | office | 1 | /dts-v1/; |
| 2 | |||
| 3 | #include "rt5350.dtsi" |
||
| 4 | |||
| 5 | #include <dt-bindings/gpio/gpio.h> |
||
| 6 | #include <dt-bindings/input/input.h> |
||
| 7 | |||
| 8 | / { |
||
| 9 | compatible = "intenso,memory2move", "ralink,rt5350-soc"; |
||
| 10 | model = "Intenso Memory 2 Move"; |
||
| 11 | |||
| 12 | aliases { |
||
| 13 | led-boot = &led_wifi; |
||
| 14 | led-failsafe = &led_wifi; |
||
| 15 | led-running = &led_wifi; |
||
| 16 | led-upgrade = &led_wifi; |
||
| 17 | }; |
||
| 18 | |||
| 19 | chosen { |
||
| 20 | bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5"; |
||
| 21 | }; |
||
| 22 | |||
| 23 | leds { |
||
| 24 | compatible = "gpio-leds"; |
||
| 25 | |||
| 26 | led_wifi: wifi { |
||
| 27 | label = "m2m:blue:wifi"; |
||
| 28 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
||
| 29 | }; |
||
| 30 | |||
| 31 | wan { |
||
| 32 | label = "m2m:green:wan"; |
||
| 33 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
||
| 34 | }; |
||
| 35 | }; |
||
| 36 | |||
| 37 | keys { |
||
| 38 | compatible = "gpio-keys-polled"; |
||
| 39 | poll-interval = <20>; |
||
| 40 | |||
| 41 | power { |
||
| 42 | label = "power"; |
||
| 43 | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; |
||
| 44 | linux,code = <KEY_POWER>; |
||
| 45 | }; |
||
| 46 | |||
| 47 | reset { |
||
| 48 | label = "reset"; |
||
| 49 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
| 50 | linux,code = <KEY_RESTART>; |
||
| 51 | }; |
||
| 52 | }; |
||
| 53 | }; |
||
| 54 | |||
| 55 | &spi0 { |
||
| 56 | status = "okay"; |
||
| 57 | |||
| 58 | m25p80@0 { |
||
| 59 | compatible = "jedec,spi-nor"; |
||
| 60 | reg = <0>; |
||
| 61 | spi-max-frequency = <10000000>; |
||
| 62 | |||
| 63 | partitions { |
||
| 64 | compatible = "fixed-partitions"; |
||
| 65 | #address-cells = <1>; |
||
| 66 | #size-cells = <1>; |
||
| 67 | |||
| 68 | partition@0 { |
||
| 69 | label = "Bootloader"; |
||
| 70 | reg = <0x0 0x30000>; |
||
| 71 | read-only; |
||
| 72 | }; |
||
| 73 | |||
| 74 | partition@30000 { |
||
| 75 | label = "Config"; |
||
| 76 | reg = <0x30000 0x10000>; |
||
| 77 | read-only; |
||
| 78 | }; |
||
| 79 | |||
| 80 | factory: partition@40000 { |
||
| 81 | label = "Factory"; |
||
| 82 | reg = <0x40000 0x10000>; |
||
| 83 | read-only; |
||
| 84 | }; |
||
| 85 | |||
| 86 | partition@50000 { |
||
| 87 | compatible = "denx,uimage"; |
||
| 88 | label = "firmware"; |
||
| 89 | reg = <0x50000 0x7b0000>; |
||
| 90 | }; |
||
| 91 | }; |
||
| 92 | }; |
||
| 93 | }; |
||
| 94 | |||
| 95 | &pinctrl { |
||
| 96 | state_default: pinctrl0 { |
||
| 97 | gpio { |
||
| 98 | ralink,group = "i2c", "uartf"; |
||
| 99 | ralink,function = "gpio"; |
||
| 100 | }; |
||
| 101 | }; |
||
| 102 | }; |
||
| 103 | |||
| 104 | ðernet { |
||
| 105 | mtd-mac-address = <&factory 0x28>; |
||
| 106 | }; |
||
| 107 | |||
| 108 | &esw { |
||
| 109 | mediatek,portmap = <0x2f>; |
||
| 110 | }; |
||
| 111 | |||
| 112 | &ehci { |
||
| 113 | status = "okay"; |
||
| 114 | }; |
||
| 115 | |||
| 116 | &ohci { |
||
| 117 | status = "okay"; |
||
| 118 | }; |
||
| 119 | |||
| 120 | &wmac { |
||
| 121 | ralink,mtd-eeprom = <&factory 0x0>; |
||
| 122 | }; |