mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 05:15:23 +02:00

bootloader-backdoor-gpio (along with reset-gpio) is used to enable bootloader backdoor for flashing new firmware. The pin and pin level to enable bootloader backdoor is configured using the following CCFG variables in cc1352p7: - SET_CCFG_BL_CONFIG_BL_PIN_NO - SET_CCFG_BL_CONFIG_BL_LEVEL Acked-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Ayush Singh <ayush@beagleboard.org> Reviewed-by: Dhruva Gole <d-gole@ti.com> Link: https://lore.kernel.org/r/20240903-beagleplay_fw_upgrade-v4-1-526fc62204a7@beagleboard.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/ti,cc1352p7.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Texas Instruments Simplelink CC1352P7 wireless MCU
|
|
|
|
description:
|
|
The CC1352P7 MCU can be connected via SPI or UART.
|
|
|
|
maintainers:
|
|
- Ayush Singh <ayushdevel1325@gmail.com>
|
|
|
|
properties:
|
|
compatible:
|
|
const: ti,cc1352p7
|
|
|
|
clocks:
|
|
items:
|
|
- description: high-frequency main system (MCU and peripherals) clock
|
|
- description: low-frequency system clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: sclk_hf
|
|
- const: sclk_lf
|
|
|
|
reset-gpios:
|
|
maxItems: 1
|
|
|
|
bootloader-backdoor-gpios:
|
|
maxItems: 1
|
|
description: |
|
|
gpios to enable bootloader backdoor in cc1352p7 bootloader to allow
|
|
flashing new firmware.
|
|
|
|
vdds-supply: true
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
serial {
|
|
mcu {
|
|
compatible = "ti,cc1352p7";
|
|
clocks = <&sclk_hf 0>, <&sclk_lf 25>;
|
|
clock-names = "sclk_hf", "sclk_lf";
|
|
reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>;
|
|
bootloader-backdoor-gpios = <&pio 36 GPIO_ACTIVE_LOW>;
|
|
vdds-supply = <&vdds>;
|
|
};
|
|
};
|