| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2019 Akash Gajjar <[email protected]> |
| 4 |
* Copyright (c) 2019 Pragnesh Patel <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
#include "rk3399-t.dtsi" |
| 9 |
#include "rk3399-rock-pi-4.dtsi" |
| 10 |
|
| 11 |
/delete-node/ &eeprom; |
| 12 |
|
| 13 |
/ { |
| 14 |
model = "Radxa ROCK 4SE"; |
| 15 |
compatible = "radxa,rock-4se", "rockchip,rk3399"; |
| 16 |
|
| 17 |
aliases { |
| 18 |
mmc2 = &sdio0; |
| 19 |
}; |
| 20 |
}; |
| 21 |
|
| 22 |
&i2c0 { |
| 23 |
eeprom@50 { |
| 24 |
compatible = "belling,bl24c16a", "atmel,24c16"; |
| 25 |
reg = <0x50>; |
| 26 |
pagesize = <16>; |
| 27 |
read-only; |
| 28 |
vcc-supply = <&vcc_3v0>; |
| 29 |
}; |
| 30 |
}; |
| 31 |
|
| 32 |
&sdio0 { |
| 33 |
status = "okay"; |
| 34 |
|
| 35 |
brcmf: wifi@1 { |
| 36 |
compatible = "brcm,bcm4329-fmac"; |
| 37 |
reg = <1>; |
| 38 |
interrupt-parent = <&gpio0>; |
| 39 |
interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>; |
| 40 |
interrupt-names = "host-wake"; |
| 41 |
pinctrl-names = "default"; |
| 42 |
pinctrl-0 = <&wifi_host_wake_l>; |
| 43 |
}; |
| 44 |
}; |
| 45 |
|
| 46 |
&uart0 { |
| 47 |
status = "okay"; |
| 48 |
|
| 49 |
bluetooth { |
| 50 |
compatible = "brcm,bcm4345c5"; |
| 51 |
clocks = <&rk808 1>; |
| 52 |
clock-names = "lpo"; |
| 53 |
device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; |
| 54 |
host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; |
| 55 |
shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; |
| 56 |
max-speed = <1500000>; |
| 57 |
pinctrl-names = "default"; |
| 58 |
pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; |
| 59 |
vbat-supply = <&vcc3v3_sys>; |
| 60 |
vddio-supply = <&vcc_1v8>; |
| 61 |
}; |
| 62 |
}; |