Skip to content

Commit

Permalink
variants: beagleconnect_freedom: Remove unnecessary nodes
Browse files Browse the repository at this point in the history
- ADC and PWM is now enabled in the base devicetree of beagleconnect
  freedom [0]. Hence no need to enable it here.

[0]: zephyrproject-rtos/zephyr#78667

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
  • Loading branch information
Ayush1325 committed Oct 14, 2024
1 parent b533b81 commit d0b57ff
Showing 1 changed file with 0 additions and 95 deletions.
95 changes: 0 additions & 95 deletions variants/beagleconnect_freedom/beagleconnect_freedom.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -63,98 +63,3 @@
spis = <&spi0>;
};
};

&pinctrl {
pwm0_default: pwm0_default {
pinmux = <17 IOC_PORT_MCU_PORT_EVENT1>;
bias-disable;
drive-strength = <2>;
};

pwm1_default: pwm1_default {
pinmux = <19 IOC_PORT_MCU_PORT_EVENT3>;
bias-disable;
drive-strength = <2>;
};
};

&gpt0 {
status = "okay";
};

&gpt1 {
status = "okay";
};

&pwm0 {
status = "okay";
pinctrl-0 = <&pwm0_default>;
pinctrl-names = "default";
};

&pwm1 {
status = "okay";
pinctrl-0 = <&pwm1_default>;
pinctrl-names = "default";
};

&adc0 {
status = "okay";

#address-cells = <1>;
#size-cells = <0>;

/* MB1 AN */
channel@9 {
reg = <9>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};

/* MB2 AN */
channel@a {
reg = <10>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};

/* MB1/2 SCL */
channel@b {
reg = <11>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};

/* MB1/2 SDA */
channel@c {
reg = <12>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};

/* MB2 CS */
channel@d {
reg = <13>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};

/* MB1 CS */
channel@e {
reg = <14>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};
};

0 comments on commit d0b57ff

Please sign in to comment.