|
1 | 1 | /* |
2 | | - * Copyright (c) 2020 The ZMK Contributors |
3 | | - * |
4 | | - * SPDX-License-Identifier: MIT |
5 | | - */ |
| 2 | +* Copyright (c) 2020 The ZMK Contributors |
| 3 | +* |
| 4 | +* SPDX-License-Identifier: MIT |
| 5 | +*/ |
6 | 6 |
|
7 | 7 | /dts-v1/; |
8 | 8 | #include <nordic/nrf52840_qiaa.dtsi> |
|
19 | 19 | }; |
20 | 20 |
|
21 | 21 | / { |
22 | | - chosen { |
23 | | - zephyr,code-partition = &code_partition; |
24 | | - zephyr,sram = &sram0; |
25 | | - zephyr,flash = &flash0; |
26 | | - zmk,kscan = &kscan0; |
27 | | - }; |
28 | | - |
29 | | - default_transform: keymap_transform_0 { |
30 | | - compatible = "zmk,matrix-transform"; |
31 | | - columns = <14>; |
32 | | - rows = <4>; |
33 | | - map = < |
| 22 | + chosen { |
| 23 | + zephyr,code-partition = &code_partition; |
| 24 | + zephyr,sram = &sram0; |
| 25 | + zephyr,flash = &flash0; |
| 26 | + zmk,kscan = &kscan0; |
| 27 | + }; |
| 28 | + |
| 29 | + default_transform: keymap_transform_0 { |
| 30 | + compatible = "zmk,matrix-transform"; |
| 31 | + columns = <14>; |
| 32 | + rows = <4>; |
| 33 | + map = < |
34 | 34 | RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10) RC(0,11) RC(0,12) RC(0,13) |
35 | 35 | RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10) RC(1,11) RC(1,12) RC(1,13) |
36 | 36 | RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,8) RC(2,9) RC(2,10) RC(2,11) RC(2,12) RC(2,13) |
37 | 37 | RC(3,3) RC(3,4) RC(3,5) RC(3,8) RC(3,9) RC(3,10) |
38 | | - >; |
39 | | - }; |
| 38 | + >; |
| 39 | + }; |
40 | 40 |
|
41 | 41 | five_col_transform: keymap_transform_1 { |
42 | 42 | compatible = "zmk,matrix-transform"; |
|
90 | 90 | }; |
91 | 91 |
|
92 | 92 | &gpio0 { |
93 | | - status = "okay"; |
| 93 | + status = "okay"; |
94 | 94 | }; |
95 | 95 |
|
96 | 96 | &gpio1 { |
97 | | - status = "okay"; |
| 97 | + status = "okay"; |
98 | 98 | }; |
99 | 99 |
|
100 | 100 | zephyr_udc0: &usbd { |
@@ -129,30 +129,30 @@ nice_view_spi: &spi0 { |
129 | 129 | }; |
130 | 130 |
|
131 | 131 | &flash0 { |
132 | | - /* |
133 | | - * For more information, see: |
134 | | - * http://docs.zephyrproject.org/latest/devices/dts/flash_partitions.html |
135 | | - */ |
136 | | - partitions { |
137 | | - compatible = "fixed-partitions"; |
138 | | - #address-cells = <1>; |
139 | | - #size-cells = <1>; |
140 | | - |
141 | | - sd_partition: partition@0 { |
142 | | - label = "softdevice"; |
143 | | - reg = <0x00000000 0x00026000>; |
144 | | - }; |
145 | | - code_partition: partition@26000 { |
146 | | - label = "code_partition"; |
147 | | - reg = <0x00026000 0x000c6000>; |
148 | | - }; |
149 | | - storage_partition: partition@ec000 { |
150 | | - label = "storage"; |
151 | | - reg = <0x000ec000 0x00008000>; |
152 | | - }; |
153 | | - boot_partition: partition@f4000 { |
154 | | - label = "adafruit_boot"; |
155 | | - reg = <0x000f4000 0x0000c000>; |
156 | | - }; |
157 | | - }; |
| 132 | + /* |
| 133 | +* For more information, see: |
| 134 | +* http://docs.zephyrproject.org/latest/devices/dts/flash_partitions.html |
| 135 | + */ |
| 136 | + partitions { |
| 137 | + compatible = "fixed-partitions"; |
| 138 | + #address-cells = <1>; |
| 139 | + #size-cells = <1>; |
| 140 | + |
| 141 | + sd_partition: partition@0 { |
| 142 | + label = "softdevice"; |
| 143 | + reg = <0x00000000 0x00026000>; |
| 144 | + }; |
| 145 | + code_partition: partition@26000 { |
| 146 | + label = "code_partition"; |
| 147 | + reg = <0x00026000 0x000c6000>; |
| 148 | + }; |
| 149 | + storage_partition: partition@ec000 { |
| 150 | + label = "storage"; |
| 151 | + reg = <0x000ec000 0x00008000>; |
| 152 | + }; |
| 153 | + boot_partition: partition@f4000 { |
| 154 | + label = "adafruit_boot"; |
| 155 | + reg = <0x000f4000 0x0000c000>; |
| 156 | + }; |
| 157 | + }; |
158 | 158 | }; |
0 commit comments