samples: sensor: qdec: change pins used for qdec nrf54h20dk
Change pins that are used for qdec nrf54h20dk to align with shield (loopbacks) used in internal CI. This change is needed to start qdec driver power management testing. Signed-off-by: Piotr Krzyzanowski <piotr.krzyzanowski@nordicsemi.no>
This commit is contained in:
parent
075d5d3009
commit
74a5599ac8
2 changed files with 12 additions and 20 deletions
|
@ -13,10 +13,10 @@
|
|||
encoder-emulate {
|
||||
compatible = "gpio-leds";
|
||||
phase_a: phase_a {
|
||||
gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
phase_b: phase_b {
|
||||
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -24,17 +24,13 @@
|
|||
&pinctrl {
|
||||
qdec_pinctrl: qdec_pinctrl {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(QDEC_A, 1, 0)>,
|
||||
<NRF_PSEL(QDEC_B, 1, 2)>;
|
||||
psels = <NRF_PSEL(QDEC_A, 2, 8)>,
|
||||
<NRF_PSEL(QDEC_B, 2, 10)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio7 {
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
encoder-emulate {
|
||||
compatible = "gpio-leds";
|
||||
phase_a: phase_a {
|
||||
gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
phase_b: phase_b {
|
||||
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -24,25 +24,21 @@
|
|||
&pinctrl {
|
||||
qdec_pinctrl: qdec_pinctrl {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(QDEC_A, 1, 0)>,
|
||||
<NRF_PSEL(QDEC_B, 1, 2)>;
|
||||
psels = <NRF_PSEL(QDEC_A, 2, 8)>,
|
||||
<NRF_PSEL(QDEC_B, 2, 10)>;
|
||||
};
|
||||
};
|
||||
|
||||
qdec_sleep_pinctrl: qdec_sleep_pinctrl {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(QDEC_A, 1, 0)>,
|
||||
<NRF_PSEL(QDEC_B, 1, 2)>;
|
||||
psels = <NRF_PSEL(QDEC_A, 2, 8)>,
|
||||
<NRF_PSEL(QDEC_B, 2, 10)>;
|
||||
low-power-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio7 {
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue