|
25 | 25 | status = "okay";
|
26 | 26 | };
|
27 | 27 |
|
| 28 | +&spi2 { |
| 29 | + status = "okay"; |
| 30 | + pinctrl-0 = <&spi2_sck_pi1 |
| 31 | + &spi2_miso_pc2 &spi2_mosi_pc3>; |
| 32 | + pinctrl-names = "default"; |
| 33 | +}; |
| 34 | + |
28 | 35 | &rng {
|
29 | 36 | status = "okay";
|
30 | 37 | };
|
|
66 | 73 |
|
67 | 74 | / {
|
68 | 75 | zephyr,user {
|
69 |
| - digital-pin-gpios = <&gpioh 15 GPIO_ACTIVE_LOW>, |
70 |
| - <&gpiok 1 GPIO_ACTIVE_LOW>, |
71 |
| - <&gpioj 11 GPIO_ACTIVE_LOW>, |
72 |
| - <&gpiog 7 GPIO_ACTIVE_LOW>, |
73 |
| - <&gpioc 7 GPIO_ACTIVE_LOW>, |
74 |
| - <&gpioc 6 GPIO_ACTIVE_LOW>, |
75 |
| - <&gpioa 8 GPIO_ACTIVE_LOW>, |
76 |
| - <&gpioi 0 GPIO_ACTIVE_LOW>, |
77 |
| - <&gpioc 3 GPIO_ACTIVE_LOW>, |
78 |
| - <&gpioi 1 GPIO_ACTIVE_LOW>, |
79 |
| - <&gpioc 2 GPIO_ACTIVE_LOW>, |
80 |
| - <&gpioh 8 GPIO_ACTIVE_LOW>, |
81 |
| - <&gpioh 7 GPIO_ACTIVE_LOW>, |
82 |
| - <&gpioa 10 GPIO_ACTIVE_LOW>, |
83 |
| - <&gpioa 9 GPIO_ACTIVE_LOW>, |
84 |
| - <&gpiok 5 GPIO_ACTIVE_LOW>; // LEDR |
| 76 | + digital-pin-gpios = <&gpioh 15 0>, |
| 77 | + <&gpiok 1 0>, |
| 78 | + <&gpioj 11 0>, |
| 79 | + <&gpiog 7 0>, |
| 80 | + <&gpioc 7 0>, |
| 81 | + <&gpioc 6 0>, |
| 82 | + <&gpioa 8 0>, |
| 83 | + <&gpioi 0 0>, |
| 84 | + <&gpioc 3 0>, |
| 85 | + <&gpioi 1 0>, |
| 86 | + <&gpioc 2 0>, |
| 87 | + <&gpioh 8 0>, |
| 88 | + <&gpioh 7 0>, |
| 89 | + <&gpioa 10 0>, |
| 90 | + <&gpioa 9 0>, |
| 91 | + <&gpiok 5 GPIO_ACTIVE_LOW>, // LEDR |
| 92 | + <&gpiok 6 GPIO_ACTIVE_LOW>, |
| 93 | + <&gpiok 7 GPIO_ACTIVE_LOW>; |
85 | 94 |
|
86 | 95 | builtin-led-gpios = <&gpiok 5 GPIO_ACTIVE_LOW>,
|
87 | 96 | <&gpiok 6 GPIO_ACTIVE_LOW>,
|
|
90 | 99 | serials = <&cdc_acm_uart0>,<&usart6>, <&usart1>, <&uart4>;
|
91 | 100 | cdc-acm = <&cdc_acm_uart0>;
|
92 | 101 | i2cs = <&i2c4>;
|
| 102 | + spis = <&spi2>; |
93 | 103 | };
|
94 | 104 | };
|
0 commit comments