Skip to content

Commit 8428b9a

Browse files
committed
Comment out pins we removed to allow SPI1 to work
1 parent e831260 commit 8428b9a

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

Diff for: loader/boards/arduino_giga_r1_m7.overlay

+20-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363

6464
pwm1: pwm {
6565
status = "okay";
66+
/* Temporarily removed SPI1 pins */
67+
/* pinctrl-0 = <&tim1_ch3_pj9 &tim1_ch1_pk1 &tim1_ch2_pj11>; */
6668
pinctrl-0 = <&tim1_ch3_pj9 &tim1_ch1_pk1>;
6769
pinctrl-names = "default";
6870
};
@@ -107,11 +109,23 @@
107109

108110
pwm8: pwm {
109111
status = "okay";
112+
/* Temporarily removed SPI1 pins */
113+
/* pinctrl-0 = <&tim8_ch1_pj8 &tim8_ch2_pj10>; */
110114
pinctrl-0 = <&tim8_ch1_pj8>;
111115
pinctrl-names = "default";
112116
};
113117
};
114118

119+
/* Temporarily removed SPI1 pins */
120+
/* &timers12 { */
121+
/* status = "okay"; */
122+
/* st,prescaler = <100>; */
123+
/* pwm12: pwm { */
124+
/* status = "okay"; */
125+
/* pinctrl-0 = <&tim12_ch1_ph6>; */
126+
/* pinctrl-names = "default"; */
127+
/* }; */
128+
/*}; */
115129

116130
&pwm1 {
117131
/* Use the pwmclock node to start the clock generation */
@@ -508,7 +522,12 @@
508522
<&pwm3 1 PWM_HZ(500) PWM_POLARITY_NORMAL>,
509523
<&pwm4 3 PWM_HZ(500) PWM_POLARITY_NORMAL>,
510524
<&pwm4 4 PWM_HZ(500) PWM_POLARITY_NORMAL>,
511-
<&pwm1 1 PWM_HZ(5000) PWM_POLARITY_NORMAL>;
525+
/* Temporarily removed SPI1 pins */
526+
/* <&pwm1 1 PWM_HZ(5000) PWM_POLARITY_NORMAL>, */
527+
/* <&pwm8 2 PWM_HZ(500) PWM_POLARITY_NORMAL>, */
528+
/* <&pwm1 2 PWM_HZ(5000) PWM_POLARITY_NORMAL>, */
529+
/* <&pwm12 1 PWM_HZ(500) PWM_POLARITY_NORMAL>; */
530+
<&pwm1 1 PWM_HZ(5000) PWM_POLARITY_NORMAL>;
512531

513532
io-channels = <&adc1 4>,
514533
<&adc1 8>,

0 commit comments

Comments
 (0)