1c1075b7fSJagan Teki// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2c1075b7fSJagan Teki/* 3c1075b7fSJagan Teki * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com> 4c1075b7fSJagan Teki * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com> 5c1075b7fSJagan Teki */ 6c1075b7fSJagan Teki 7c1075b7fSJagan Teki/dts-v1/; 8c1075b7fSJagan Teki#include "rk3399-rock-pi-4.dtsi" 9fd2762a6SChristopher Obbard#include "rk3399-opp.dtsi" 10c1075b7fSJagan Teki 11c1075b7fSJagan Teki/ { 12c1075b7fSJagan Teki model = "Radxa ROCK Pi 4B"; 13c1075b7fSJagan Teki compatible = "radxa,rockpi4b", "radxa,rockpi4", "rockchip,rk3399"; 145dcbe7e3SHeiko Stuebner 155dcbe7e3SHeiko Stuebner aliases { 165dcbe7e3SHeiko Stuebner mmc2 = &sdio0; 175dcbe7e3SHeiko Stuebner }; 18c1075b7fSJagan Teki}; 19c1075b7fSJagan Teki 20c1075b7fSJagan Teki&sdio0 { 21c1075b7fSJagan Teki status = "okay"; 22c1075b7fSJagan Teki 23c1075b7fSJagan Teki brcmf: wifi@1 { 24c1075b7fSJagan Teki compatible = "brcm,bcm4329-fmac"; 25c1075b7fSJagan Teki reg = <1>; 26c1075b7fSJagan Teki interrupt-parent = <&gpio0>; 27c043dee9SKrzysztof Kozlowski interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>; 28c1075b7fSJagan Teki interrupt-names = "host-wake"; 29c1075b7fSJagan Teki pinctrl-names = "default"; 30c1075b7fSJagan Teki pinctrl-0 = <&wifi_host_wake_l>; 31c1075b7fSJagan Teki }; 32c1075b7fSJagan Teki}; 33c1075b7fSJagan Teki 34*eddf7302SStefan Nagy&spi1 { 35*eddf7302SStefan Nagy status = "okay"; 36*eddf7302SStefan Nagy 37*eddf7302SStefan Nagy flash@0 { 38*eddf7302SStefan Nagy compatible = "jedec,spi-nor"; 39*eddf7302SStefan Nagy reg = <0>; 40*eddf7302SStefan Nagy spi-max-frequency = <10000000>; 41*eddf7302SStefan Nagy }; 42*eddf7302SStefan Nagy}; 43*eddf7302SStefan Nagy 44c1075b7fSJagan Teki&uart0 { 45c1075b7fSJagan Teki status = "okay"; 46c1075b7fSJagan Teki 47c1075b7fSJagan Teki bluetooth { 48f471b1b2SJagan Teki compatible = "brcm,bcm4345c5"; 49c1075b7fSJagan Teki clocks = <&rk808 1>; 50f471b1b2SJagan Teki clock-names = "lpo"; 51c1075b7fSJagan Teki device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 52c1075b7fSJagan Teki host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 53c1075b7fSJagan Teki shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 54f471b1b2SJagan Teki max-speed = <1500000>; 55c1075b7fSJagan Teki pinctrl-names = "default"; 56c1075b7fSJagan Teki pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 57f471b1b2SJagan Teki vbat-supply = <&vcc3v3_sys>; 58f471b1b2SJagan Teki vddio-supply = <&vcc_1v8>; 59c1075b7fSJagan Teki }; 60c1075b7fSJagan Teki}; 61