-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: nrf/stm32: supress duplicate unit-address warning
A number of SoCs have overlapping devices at the same unit address. Surpress the warning for those cases: * NRF - kmu@39000 & flash-controller@39000 * NRF - clock@5000 & power@5000 * NRF - image@20000000 & image_s@20000000 * NRF - i2c@40003000 & spi@40003000 * STM - i2s@40003800 & spi@40003800 Signed-off-by: Kumar Gala <[email protected]>
- Loading branch information
Showing
10 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - /soc/i2s@40003800 & /soc/spi@40003800 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - flash-controller@39000 & kmu@39000 | ||
# - power@5000 & clock@5000 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - /soc/i2c@40003000 & /soc/spi@40003000 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - /soc/i2c@40003000 & /soc/spi@40003000 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - flash-controller@39000 & kmu@39000 | ||
# - power@5000 & clock@5000 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - flash-controller@39000 & kmu@39000 | ||
# - power@5000 & clock@5000 | ||
# - /reserved-memory/image@20000000 & /reserved-memory/image_s@20000000 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - flash-controller@39000 & kmu@39000 | ||
# - power@5000 & clock@5000 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - flash-controller@39000 & kmu@39000 | ||
# - power@5000 & clock@5000 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - flash-controller@39000 & kmu@39000 | ||
# - power@5000 & clock@5000 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2021 Linaro Limited | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: | ||
# - /soc/pinmux@41004400 & /soc/gpio@41004400 | ||
# - /soc/pinmux@41004480 & /soc/gpio@41004480 | ||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled") |