dts: nordic: nrf9160: Add missing peripheral nodes
For quite a few peripherals that are currently supported by nrfx HALs or drivers there are no definitions of corresponding CMSIS-Core peripheral accessing symbols that would provide their base addresses in the proper domain (secure or non-secure), accordingly to the build target. This commits adds devicetree nodes for these peripherals so that their base addresses can be used in definitions of the accessing symbols mentioned above. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
ed9c1ce55d
commit
a19356d79b
10 changed files with 270 additions and 0 deletions
|
@ -37,12 +37,20 @@
|
|||
uart-2 = &uart2;
|
||||
uart-3 = &uart3;
|
||||
adc-0 = &adc;
|
||||
egu-0 = &egu0;
|
||||
egu-1 = &egu1;
|
||||
egu-2 = &egu2;
|
||||
egu-3 = &egu3;
|
||||
egu-4 = &egu4;
|
||||
egu-5 = &egu5;
|
||||
gpio-0 = &gpio0;
|
||||
gpiote-0 = &gpiote;
|
||||
i2c-0 = &i2c0;
|
||||
i2c-1 = &i2c1;
|
||||
i2c-2 = &i2c2;
|
||||
i2c-3 = &i2c3;
|
||||
i2s-0 = &i2s0;
|
||||
pdm-0 = &pdm0;
|
||||
spi-0 = &spi0;
|
||||
spi-1 = &spi1;
|
||||
spi-2 = &spi2;
|
||||
|
|
|
@ -37,6 +37,85 @@ dppic: dppic@17000 {
|
|||
label = "DPPIC";
|
||||
};
|
||||
|
||||
egu0: egu@1b000 {
|
||||
compatible = "nordic,nrf-egu";
|
||||
reg = <0x1b000 0x1000>;
|
||||
interrupts = <27 1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
egu1: egu@1c000 {
|
||||
compatible = "nordic,nrf-egu";
|
||||
reg = <0x1c000 0x1000>;
|
||||
interrupts = <28 1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
egu2: egu@1d000 {
|
||||
compatible = "nordic,nrf-egu";
|
||||
reg = <0x1d000 0x1000>;
|
||||
interrupts = <29 1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
egu3: egu@1e000 {
|
||||
compatible = "nordic,nrf-egu";
|
||||
reg = <0x1e000 0x1000>;
|
||||
interrupts = <30 1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
egu4: egu@1f000 {
|
||||
compatible = "nordic,nrf-egu";
|
||||
reg = <0x1f000 0x1000>;
|
||||
interrupts = <31 1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
egu5: egu@20000 {
|
||||
compatible = "nordic,nrf-egu";
|
||||
reg = <0x20000 0x1000>;
|
||||
interrupts = <32 1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
i2s0: i2s@28000 {
|
||||
compatible = "nordic,nrf-i2s";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x28000 0x1000>;
|
||||
interrupts = <40 1>;
|
||||
status = "disabled";
|
||||
label = "I2S_0";
|
||||
};
|
||||
|
||||
kmu: kmu@39000 {
|
||||
compatible = "nordic,nrf-kmu";
|
||||
reg = <0x39000 0x1000>;
|
||||
interrupts = <57 1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
pdm0: pdm@26000 {
|
||||
compatible = "nordic,nrf-pdm";
|
||||
reg = <0x26000 0x1000>;
|
||||
interrupts = <38 1>;
|
||||
status = "disabled";
|
||||
label = "PDM_0";
|
||||
};
|
||||
|
||||
regulators: regulator@4000 {
|
||||
compatible = "nordic,nrf-regulators";
|
||||
reg = <0x4000 0x1000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
vmc: vmc@3a000 {
|
||||
compatible = "nordic,nrf-vmc";
|
||||
reg = <0x3a000 0x1000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uart0: uart@8000 {
|
||||
compatible = "nordic,nrf-uarte";
|
||||
reg = <0x8000 0x1000>;
|
||||
|
|
|
@ -37,12 +37,20 @@
|
|||
uart-2 = &uart2;
|
||||
uart-3 = &uart3;
|
||||
adc-0 = &adc;
|
||||
egu-0 = &egu0;
|
||||
egu-1 = &egu1;
|
||||
egu-2 = &egu2;
|
||||
egu-3 = &egu3;
|
||||
egu-4 = &egu4;
|
||||
egu-5 = &egu5;
|
||||
gpio-0 = &gpio0;
|
||||
gpiote-0 = &gpiote; /* FIXME alias should be gpiote-1 */
|
||||
i2c-0 = &i2c0;
|
||||
i2c-1 = &i2c1;
|
||||
i2c-2 = &i2c2;
|
||||
i2c-3 = &i2c3;
|
||||
i2s-0 = &i2s0;
|
||||
pdm-0 = &pdm0;
|
||||
spi-0 = &spi0;
|
||||
spi-1 = &spi1;
|
||||
spi-2 = &spi2;
|
||||
|
|
18
dts/bindings/arm/nordic,nrf-egu.yaml
Normal file
18
dts/bindings/arm/nordic,nrf-egu.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
title: Nordic EGU
|
||||
|
||||
description: >
|
||||
Binding for the Nordic EGU (Event Generator Unit)
|
||||
|
||||
compatible: "nordic,nrf-egu"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
18
dts/bindings/arm/nordic,nrf-kmu.yaml
Normal file
18
dts/bindings/arm/nordic,nrf-kmu.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
title: Nordic KMU
|
||||
|
||||
description: >
|
||||
Binding for the Nordic KMU (Key Management Unit)
|
||||
|
||||
compatible: "nordic,nrf-kmu"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
28
dts/bindings/audio/nordic,nrf-pdm.yaml
Normal file
28
dts/bindings/audio/nordic,nrf-pdm.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
title: Nordic PDM
|
||||
|
||||
description: >
|
||||
Binding for the Nordic PDM (pulse density modulation interface)
|
||||
|
||||
compatible: "nordic,nrf-pdm"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
clk-pin:
|
||||
type: int
|
||||
required: true
|
||||
description: CLK pin
|
||||
|
||||
din-pin:
|
||||
type: int
|
||||
required: true
|
||||
description: DIN pin
|
38
dts/bindings/i2c/nordic,nrf-twis.yaml
Normal file
38
dts/bindings/i2c/nordic,nrf-twis.yaml
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
title: Nordic TWIS
|
||||
|
||||
description: >
|
||||
Binding for the Nordic TWIS (TWI slave with EasyDMA)
|
||||
|
||||
compatible: "nordic,nrf-twis"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
sda-pin:
|
||||
type: int
|
||||
required: true
|
||||
description: SDA pin
|
||||
|
||||
scl-pin:
|
||||
type: int
|
||||
required: true
|
||||
description: SCL pin
|
||||
|
||||
address-0:
|
||||
type: int
|
||||
required: false
|
||||
description: TWI slave address 0
|
||||
|
||||
address-1:
|
||||
type: int
|
||||
required: false
|
||||
description: TWI slave address 1
|
43
dts/bindings/i2s/nordic,nrf-i2s.yaml
Normal file
43
dts/bindings/i2s/nordic,nrf-i2s.yaml
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
title: Nordic I2S
|
||||
|
||||
description: >
|
||||
Binding for the Nordic I2S (Inter-IC sound interface)
|
||||
|
||||
compatible: "nordic,nrf-i2s"
|
||||
|
||||
include: i2s-controller.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
sck-pin:
|
||||
type: int
|
||||
required: true
|
||||
description: SCK pin
|
||||
|
||||
lrck-pin:
|
||||
type: int
|
||||
required: true
|
||||
description: LRCK pin
|
||||
|
||||
sdout-pin:
|
||||
type: int
|
||||
required: false
|
||||
description: SDOUT pin
|
||||
|
||||
sdin-pin:
|
||||
type: int
|
||||
required: false
|
||||
description: SDIN pin
|
||||
|
||||
mck-pin:
|
||||
type: int
|
||||
required: false
|
||||
description: MCK pin
|
15
dts/bindings/power/nordic,nrf-regulators.yaml
Normal file
15
dts/bindings/power/nordic,nrf-regulators.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
title: Nordic REGULATORS
|
||||
|
||||
description: >
|
||||
Binding for the Nordic REGULATORS (voltage regulators control module)
|
||||
|
||||
compatible: "nordic,nrf-regulators"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
15
dts/bindings/power/nordic,nrf-vmc.yaml
Normal file
15
dts/bindings/power/nordic,nrf-vmc.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2019 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
title: Nordic VMC
|
||||
|
||||
description: >
|
||||
Binding for the Nordic VMC (Volatile Memory Controller)
|
||||
|
||||
compatible: "nordic,nrf-vmc"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
Loading…
Add table
Add a link
Reference in a new issue