Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
lorforlinux committed Jun 21, 2020
1 parent 1c2341f commit 64b351d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/arm/BBORG_SERVO-00A2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

&am33xx_pinmux {

bborg_servo_input_pins: pinmux_bborg_servo_input_pins {
bborg_servocape_input_pins: pinmux_bborg_servocape_input_pins {
pinctrl-single,pins = <
BONE_P8_12 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* P8_12: gpio1_12 */
BONE_P8_11 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* P8_11: gpio1_13 */
Expand All @@ -52,15 +52,15 @@
};


bborg_servo_pca9685_i2c_pins: pinmux_bborg_servo_pca9685_i2c_pins {
bborg_servocape_pca9685_i2c_pins: pinmux_bborg_servocape_pca9685_i2c_pins {
pinctrl-single,pins = <
BONE_P9_20 (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3) /* P9_19: i2c2.sda */
BONE_P9_19 (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3) /* P9_20: i2c2.scl */
>;
};


bborg_servo_pca9685_en_pins: pinmux_bborg_servo_pca9685_en_pins {
bborg_servocape_pca9685_en_pin: pinmux_bborg_servocape_pca9685_en_pin {
pinctrl-single,pins = <
BONE_P8_10 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* P9_20: servo.en */
>;
Expand All @@ -69,7 +69,7 @@

&i2c2 {
pinctrl-names = "default";
pinctrl-0 = <&bborg_servo_pca9685_i2c_pins>;
pinctrl-0 = <&bborg_servocape_pca9685_i2c_pins>;
status = "okay";
clock-frequency = <100000>;
#address-cells = <1>;
Expand All @@ -79,16 +79,16 @@
compatible = "nxp,pca9685-pwm";
#pwm-cells = <16>;
reg = <0x70>;
lable = "pca9685_servo";
label = "pca9685_servocape";
/* invert; */
/* open-drain; */
};
};

&{/} {
leds {
pca9685 {
pinctrl-names = "default";
pinctrl-0 = <&bborg_servo_pca9685_en_pins>;
pinctrl-0 = <&bborg_servocape_pca9685_en_pin>;

compatible = "gpio-leds";

Expand Down

0 comments on commit 64b351d

Please sign in to comment.