File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
boards/microchip/sam/sama7g54_ek Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 119119 };
120120};
121121
122+ &flx11 {
123+ mchp,flexcom-mode = <SAM_FLEXCOM_MODE_SPI>;
124+ status = "okay";
125+
126+ spi11: spi@400 {
127+ pinctrl-0 = <&pinctrl_spi11_default>;
128+ pinctrl-names = "default";
129+ cs-gpios = <&piob 6 GPIO_ACTIVE_LOW>;
130+ status = "okay";
131+
132+ nor_flash: sst26vf064@0 {
133+ compatible ="jedec,spi-nor";
134+ reg = <0>;
135+ spi-max-frequency = <10000000>;
136+ size = <DT_SIZE_M(64)>; /* 64 Mbits */
137+ jedec-id = [bf 26 43];
138+ requires-ulbpr;
139+ status = "okay";
140+ };
141+ };
142+ };
143+
122144&pinctrl {
123145 pinctrl_flx3_default: flx3_default {
124146 group1 {
135157 bias-disable;
136158 };
137159 };
160+
161+ pinctrl_spi11_default: spi11_default {
162+ group1 {
163+ pinmux = <PIN_PB3__FLEXCOM11_IO0>,
164+ <PIN_PB4__FLEXCOM11_IO1>,
165+ <PIN_PB5__FLEXCOM11_IO2>,
166+ <PIN_PB6__GPIO>; /* GPIO CS */
167+ bias-pull-up;
168+ };
169+ };
138170};
139171
140172&pit64b0 {
Original file line number Diff line number Diff line change @@ -10,5 +10,6 @@ toolchain:
1010ram : 128
1111supported :
1212 - shell
13+ - spi
1314 - uart
1415vendor : microchip
You can’t perform that action at this time.
0 commit comments