From 55eb4a11cdb1733eeadecba8b9b6d23f7e1d5b47 Mon Sep 17 00:00:00 2001 From: Alex Porosanu Date: Tue, 21 Jan 2020 11:02:14 +0200 Subject: [PATCH] samples: bluetooth: add missing VEGABoard overlays The default DTS of VEGABoard does not enable the necessary nodes for the SW LL to function; as such an overlay is needed for each sample that is intended to be run on the VEGABoard. Some of the samples miss this overlay so this patch adds them. Signed-off-by: Alex Porosanu --- .../bluetooth/ipsp/rv32m1_vega_ri5cy.overlay | 22 +++++++++++++++++++ .../bluetooth/mesh/rv32m1_vega_ri5cy.overlay | 22 +++++++++++++++++++ .../mesh_demo/rv32m1_vega_ri5cy.overlay | 22 +++++++++++++++++++ .../peripheral_hids/rv32m1_vega_ri5cy.overlay | 22 +++++++++++++++++++ .../rv32m1_vega_ri5cy.overlay | 22 +++++++++++++++++++ 5 files changed, 110 insertions(+) create mode 100644 samples/bluetooth/ipsp/rv32m1_vega_ri5cy.overlay create mode 100644 samples/bluetooth/mesh/rv32m1_vega_ri5cy.overlay create mode 100644 samples/bluetooth/mesh_demo/rv32m1_vega_ri5cy.overlay create mode 100644 samples/bluetooth/peripheral_hids/rv32m1_vega_ri5cy.overlay create mode 100644 samples/bluetooth/peripheral_sc_only/rv32m1_vega_ri5cy.overlay diff --git a/samples/bluetooth/ipsp/rv32m1_vega_ri5cy.overlay b/samples/bluetooth/ipsp/rv32m1_vega_ri5cy.overlay new file mode 100644 index 00000000000..e53f6265deb --- /dev/null +++ b/samples/bluetooth/ipsp/rv32m1_vega_ri5cy.overlay @@ -0,0 +1,22 @@ +/* + * Copyright 2019 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&lptmr1 { + interrupt-parent = <&intmux0_ch2>; +}; + +&intmux0_ch2 { + status = "okay"; +}; + +&intmux0_ch3 { + status = "okay"; +}; + +&generic_fsk { + interrupt-parent = <&intmux0_ch3>; + status = "okay"; +}; diff --git a/samples/bluetooth/mesh/rv32m1_vega_ri5cy.overlay b/samples/bluetooth/mesh/rv32m1_vega_ri5cy.overlay new file mode 100644 index 00000000000..e53f6265deb --- /dev/null +++ b/samples/bluetooth/mesh/rv32m1_vega_ri5cy.overlay @@ -0,0 +1,22 @@ +/* + * Copyright 2019 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&lptmr1 { + interrupt-parent = <&intmux0_ch2>; +}; + +&intmux0_ch2 { + status = "okay"; +}; + +&intmux0_ch3 { + status = "okay"; +}; + +&generic_fsk { + interrupt-parent = <&intmux0_ch3>; + status = "okay"; +}; diff --git a/samples/bluetooth/mesh_demo/rv32m1_vega_ri5cy.overlay b/samples/bluetooth/mesh_demo/rv32m1_vega_ri5cy.overlay new file mode 100644 index 00000000000..e53f6265deb --- /dev/null +++ b/samples/bluetooth/mesh_demo/rv32m1_vega_ri5cy.overlay @@ -0,0 +1,22 @@ +/* + * Copyright 2019 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&lptmr1 { + interrupt-parent = <&intmux0_ch2>; +}; + +&intmux0_ch2 { + status = "okay"; +}; + +&intmux0_ch3 { + status = "okay"; +}; + +&generic_fsk { + interrupt-parent = <&intmux0_ch3>; + status = "okay"; +}; diff --git a/samples/bluetooth/peripheral_hids/rv32m1_vega_ri5cy.overlay b/samples/bluetooth/peripheral_hids/rv32m1_vega_ri5cy.overlay new file mode 100644 index 00000000000..e53f6265deb --- /dev/null +++ b/samples/bluetooth/peripheral_hids/rv32m1_vega_ri5cy.overlay @@ -0,0 +1,22 @@ +/* + * Copyright 2019 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&lptmr1 { + interrupt-parent = <&intmux0_ch2>; +}; + +&intmux0_ch2 { + status = "okay"; +}; + +&intmux0_ch3 { + status = "okay"; +}; + +&generic_fsk { + interrupt-parent = <&intmux0_ch3>; + status = "okay"; +}; diff --git a/samples/bluetooth/peripheral_sc_only/rv32m1_vega_ri5cy.overlay b/samples/bluetooth/peripheral_sc_only/rv32m1_vega_ri5cy.overlay new file mode 100644 index 00000000000..e53f6265deb --- /dev/null +++ b/samples/bluetooth/peripheral_sc_only/rv32m1_vega_ri5cy.overlay @@ -0,0 +1,22 @@ +/* + * Copyright 2019 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&lptmr1 { + interrupt-parent = <&intmux0_ch2>; +}; + +&intmux0_ch2 { + status = "okay"; +}; + +&intmux0_ch3 { + status = "okay"; +}; + +&generic_fsk { + interrupt-parent = <&intmux0_ch3>; + status = "okay"; +};