Commit ed1b220b authored by Dean Weiten's avatar Dean Weiten Committed by Kumar Gala
Browse files

dts: arm: s76s: add AcSIP S76S SiP support



The AcSIP S76S is a STM32L073+SX1276+PA SoC which
supports LoRa communications.

Signed-off-by: default avatarDean Weiten <dmw@weiten.com>
parent bc782cf1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -305,6 +305,7 @@
/drivers/wifi/winc1500/                   @kludentwo
/drivers/virtualization/		  @tbursztyka
/dts/arc/                                 @abrodkin @ruuddw @iriszzw
/dts/arm/acsip/                           @NorthernDean
/dts/arm/atmel/sam4e*                     @nandojve
/dts/arm/atmel/sam4l*                     @nandojve
/dts/arm/atmel/samr21.dtsi                @benpicco
+40 −0
Original line number Diff line number Diff line
/*
 * Copyright (c)  2021 Dean Weiten <dmw@weiten.com>
 *
 * SPDX-License-Identifier: Apache-2.0
 */


#include <st/l0/stm32l073Xz.dtsi>
#include <st/l0/stm32l073r(b-z)tx-pinctrl.dtsi>

&spi2 {
	/* SX1276 SPI communication */
	pinctrl-0 = <&spi2_sck_pb13 &spi2_miso_pb14 &spi2_mosi_pb15>;
	cs-gpios = <&gpiob 12 GPIO_ACTIVE_LOW>;
	status = "okay";

	lora: sx1276@0 {
		compatible = "semtech,sx1276";
		reg = <0>;
		label = "sx1276";
		/* SX1276 nRESET */
		reset-gpios = <&gpiob 10 GPIO_ACTIVE_LOW>;
		dio-gpios =
			/* SX1276 D0 */
			<&gpiob 11 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
			/* SX1276 D1 */
			<&gpioc 13 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
			/* SX1276 D2 */
			<&gpiob 9 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
			/* SX1276 D3 */
			<&gpiob 4 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
			/* SX1276 D4 */
			<&gpiob 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
			/* SX1276 D5 */
			<&gpioa 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
		spi-max-frequency = <1000000>;
		power-amplifier-output = "pa-boost";
	};
};