File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
boards/microchip/sam/sama7g54_ek Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 121121 };
122122};
123123
124+ &flx11 {
125+ mchp,flexcom-mode = <SAM_FLEXCOM_MODE_SPI>;
126+ status = "okay";
127+
128+ spi11: spi@400 {
129+ pinctrl-0 = <&pinctrl_spi11_default>;
130+ pinctrl-names = "default";
131+ cs-gpios = <&piob 6 GPIO_ACTIVE_LOW>;
132+ status = "okay";
133+
134+ nor_flash: sst26vf064@0 {
135+ compatible ="jedec,spi-nor";
136+ reg = <0>;
137+ spi-max-frequency = <10000000>;
138+ size = <DT_SIZE_M(64)>; /* 64 Mbits */
139+ jedec-id = [bf 26 43];
140+ requires-ulbpr;
141+ status = "okay";
142+ };
143+ };
144+ };
145+
124146&pinctrl {
125147 pinctrl_flx3_default: flx3_default {
126148 group1 {
179201 };
180202 };
181203
204+ pinctrl_spi11_default: spi11_default {
205+ group1 {
206+ pinmux = <PIN_PB3__FLEXCOM11_IO0>,
207+ <PIN_PB4__FLEXCOM11_IO1>,
208+ <PIN_PB5__FLEXCOM11_IO2>,
209+ <PIN_PB6__GPIO>; /* GPIO CS */
210+ bias-pull-up;
211+ };
212+ };
182213};
183214
184215&pit64b0 {
Original file line number Diff line number Diff line change @@ -11,5 +11,6 @@ ram: 128
1111supported :
1212 - sdhc
1313 - shell
14+ - spi
1415 - uart
1516vendor : microchip
You can’t perform that action at this time.
0 commit comments