16d5872f2SSridharan S N// SPDX-License-Identifier: BSD-3-Clause 26d5872f2SSridharan S N/* 36d5872f2SSridharan S N * IPQ5332 RDP board common device tree source 46d5872f2SSridharan S N * 56d5872f2SSridharan S N * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 66d5872f2SSridharan S N */ 76d5872f2SSridharan S N 86d5872f2SSridharan S N/dts-v1/; 96d5872f2SSridharan S N 106d5872f2SSridharan S N#include <dt-bindings/gpio/gpio.h> 116d5872f2SSridharan S N#include <dt-bindings/input/input.h> 12*63a021f5SKathiravan Thirumoorthy#include <dt-bindings/leds/common.h> 136d5872f2SSridharan S N#include "ipq5332.dtsi" 146d5872f2SSridharan S N 156d5872f2SSridharan S N/ { 166d5872f2SSridharan S N aliases { 176d5872f2SSridharan S N serial0 = &blsp1_uart0; 186d5872f2SSridharan S N }; 196d5872f2SSridharan S N 206d5872f2SSridharan S N chosen { 216d5872f2SSridharan S N stdout-path = "serial0"; 226d5872f2SSridharan S N }; 230354e2d4SSridharan S N 240354e2d4SSridharan S N gpio-keys { 250354e2d4SSridharan S N compatible = "gpio-keys"; 260354e2d4SSridharan S N pinctrl-0 = <&gpio_keys_default>; 270354e2d4SSridharan S N pinctrl-names = "default"; 280354e2d4SSridharan S N 290354e2d4SSridharan S N button-wps { 300354e2d4SSridharan S N label = "wps"; 310354e2d4SSridharan S N linux,code = <KEY_WPS_BUTTON>; 320354e2d4SSridharan S N gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; 330354e2d4SSridharan S N debounce-interval = <60>; 340354e2d4SSridharan S N }; 350354e2d4SSridharan S N }; 360354e2d4SSridharan S N 370354e2d4SSridharan S N leds { 380354e2d4SSridharan S N compatible = "gpio-leds"; 390354e2d4SSridharan S N pinctrl-0 = <&gpio_leds_default>; 400354e2d4SSridharan S N pinctrl-names = "default"; 410354e2d4SSridharan S N 420354e2d4SSridharan S N led-0 { 43*63a021f5SKathiravan Thirumoorthy color = <LED_COLOR_ID_GREEN>; 44*63a021f5SKathiravan Thirumoorthy function = LED_FUNCTION_WLAN; 450354e2d4SSridharan S N gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>; 460354e2d4SSridharan S N linux,default-trigger = "phy0tx"; 470354e2d4SSridharan S N default-state = "off"; 480354e2d4SSridharan S N }; 490354e2d4SSridharan S N }; 506d5872f2SSridharan S N}; 516d5872f2SSridharan S N 526d5872f2SSridharan S N&blsp1_uart0 { 536d5872f2SSridharan S N pinctrl-0 = <&serial_0_pins>; 546d5872f2SSridharan S N pinctrl-names = "default"; 556d5872f2SSridharan S N status = "okay"; 566d5872f2SSridharan S N}; 576d5872f2SSridharan S N 586d5872f2SSridharan S N&sleep_clk { 596d5872f2SSridharan S N clock-frequency = <32000>; 606d5872f2SSridharan S N}; 616d5872f2SSridharan S N 626d5872f2SSridharan S N&xo_board { 636d5872f2SSridharan S N clock-frequency = <24000000>; 646d5872f2SSridharan S N}; 650354e2d4SSridharan S N 660354e2d4SSridharan S N/* PINCTRL */ 670354e2d4SSridharan S N&tlmm { 680354e2d4SSridharan S N gpio_keys_default: gpio-keys-default-state { 690354e2d4SSridharan S N pins = "gpio35"; 700354e2d4SSridharan S N function = "gpio"; 710354e2d4SSridharan S N drive-strength = <8>; 720354e2d4SSridharan S N bias-pull-up; 730354e2d4SSridharan S N }; 740354e2d4SSridharan S N 750354e2d4SSridharan S N gpio_leds_default: gpio-leds-default-state { 760354e2d4SSridharan S N pins = "gpio36"; 770354e2d4SSridharan S N function = "gpio"; 780354e2d4SSridharan S N drive-strength = <8>; 790354e2d4SSridharan S N bias-pull-down; 800354e2d4SSridharan S N }; 810354e2d4SSridharan S N}; 82