|
| 1 | +/* Copyright (c) 2024 Nordic Semiconductor ASA |
| 2 | + * |
| 3 | + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause |
| 4 | + */ |
| 5 | + |
| 6 | +/* Pin mapping suitable for use nRF2240-EK PCA63564 with nRF54L15DK. |
| 7 | + * The nRF2240-EK in Port P0. |
| 8 | + * |
| 9 | + * Important: |
| 10 | + * On the nRF54L15 Development Kit pins P0.00...P0.03 are |
| 11 | + * connected to the debugger chip and by default connect UART0 of the |
| 12 | + * debugger chip to the nRF54L15. The UART0 function (VCOM0) of the debugger |
| 13 | + * chip must be disabled to allow the pins to be used as FEM control signals |
| 14 | + * and FEM I2C interface. The "Board Configurator" tool (v0.3.7) being part of |
| 15 | + * "nRF Connect for Desktop" bundle can be used for this purpose. |
| 16 | + * |
| 17 | + * On the nRF54L15 Development Kit pin P0.04 is connected also to "Button 3". |
| 18 | + * Please do not press this button while the firmware nRF2240-EK containing |
| 19 | + * the code with this shield is running. |
| 20 | + */ |
| 21 | + |
| 22 | +/ { |
| 23 | + nrf_radio_fem: nrf2240_fem { |
| 24 | + compatible = "nordic,nrf2240-fem"; |
| 25 | + cs-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
| 26 | + md-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>; |
| 27 | + pwrmd-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
| 28 | + twi-if = <&nrf_radio_fem_twi>; |
| 29 | + }; |
| 30 | +}; |
| 31 | + |
| 32 | +&i2c30 { |
| 33 | + status = "okay"; |
| 34 | + |
| 35 | + pinctrl-0 = <&i2c30_default>; |
| 36 | + pinctrl-1 = <&i2c30_sleep>; |
| 37 | + pinctrl-names = "default", "sleep"; |
| 38 | + |
| 39 | + nrf_radio_fem_twi: nrf2240_fem_twi@30 { |
| 40 | + compatible = "nordic,nrf2240-fem-twi"; |
| 41 | + status = "okay"; |
| 42 | + reg = <0x30>; |
| 43 | + }; |
| 44 | + |
| 45 | + /* The nPM1300 on the nRF2240EK is used to supply power to the nRF2240 device. */ |
| 46 | + nrf2240ek_pmic: pmic@6b { |
| 47 | + compatible = "nordic,npm1300"; |
| 48 | + status = "okay"; |
| 49 | + reg = <0x6b>; |
| 50 | + |
| 51 | + nrf2240ek_pmic_charger: charger { |
| 52 | + compatible = "nordic,npm1300-charger"; |
| 53 | + status = "okay"; |
| 54 | + /* When objects are placed close to the PCB antenna of the nRF2240EK shield |
| 55 | + * the supply voltage drops on the nRF2240 power supply pin VDDPALDO were |
| 56 | + * observed. As a workaround the current limit on VBUS of the PMIC |
| 57 | + * is increased. |
| 58 | + */ |
| 59 | + vbus-limit-microamp = <500000>; |
| 60 | + /* This PMIC does not have a battery, but the settings below are required |
| 61 | + * by the driver |
| 62 | + */ |
| 63 | + term-microvolt = <4150000>; |
| 64 | + current-microamp = <150000>; |
| 65 | + dischg-limit-microamp = <1000000>; |
| 66 | + thermistor-ohms = <10000>; |
| 67 | + thermistor-beta = <3380>; |
| 68 | + }; |
| 69 | + }; |
| 70 | +}; |
| 71 | + |
| 72 | +&pinctrl { |
| 73 | + i2c30_default: i2c30_default { |
| 74 | + group1 { |
| 75 | + psels = <NRF_PSEL(TWIM_SDA, 0, 4)>, |
| 76 | + <NRF_PSEL(TWIM_SCL, 0, 3)>; |
| 77 | + bias-pull-up; |
| 78 | + }; |
| 79 | + }; |
| 80 | + |
| 81 | + i2c30_sleep: i2c30_sleep { |
| 82 | + group1 { |
| 83 | + psels = <NRF_PSEL(TWIM_SDA, 0, 4)>, |
| 84 | + <NRF_PSEL(TWIM_SCL, 0, 3)>; |
| 85 | + low-power-enable; |
| 86 | + }; |
| 87 | + }; |
| 88 | +}; |
| 89 | + |
| 90 | +&dppic10 { |
| 91 | + status = "okay"; |
| 92 | +}; |
| 93 | + |
| 94 | +&ppib11 { |
| 95 | + status = "okay"; |
| 96 | +}; |
| 97 | + |
| 98 | +&ppib21 { |
| 99 | + status = "okay"; |
| 100 | +}; |
| 101 | + |
| 102 | +&dppic20 { |
| 103 | + status = "okay"; |
| 104 | +}; |
| 105 | + |
| 106 | +&ppib22 { |
| 107 | + status = "okay"; |
| 108 | +}; |
| 109 | + |
| 110 | +&ppib30 { |
| 111 | + status = "okay"; |
| 112 | +}; |
| 113 | + |
| 114 | +&dppic30 { |
| 115 | + status = "okay"; |
| 116 | +}; |
0 commit comments