Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress DTC warnings #37

Merged
merged 1 commit into from
Jan 14, 2024
Merged

Suppress DTC warnings #37

merged 1 commit into from
Jan 14, 2024

Conversation

ChinYikMing
Copy link
Collaborator

The DTC of version 1.6.1 generates the following warnings:

  1. (unit_address_vs_reg) /soc: node has a reg or ranges property, but no unit name
  2. (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider

To suppress them, add unit-name with parent-bus-address to the SOC node and #address-cells to the CPU interrupt controller.

The DTC of version 1.6.1 generates the following warnings:
1. (unit_address_vs_reg) /soc:
node has a reg or ranges property, but no unit name
2. (interrupt_provider): /cpus/cpu@0/interrupt-controller:
Missing #address-cells in interrupt provider

To suppress them, add unit-name with parent-bus-address to the
SOC node and #address-cells to the CPU interrupt controller.
@jserv jserv merged commit e788620 into sysprog21:master Jan 14, 2024
2 checks passed
@jserv
Copy link
Collaborator

jserv commented Jan 14, 2024

Thank @ChinYikMing for contributing!

@ChinYikMing ChinYikMing deleted the dt branch January 14, 2024 19:40
@chiangkd chiangkd mentioned this pull request Dec 12, 2024
Mes0903 added a commit to Mes0903/semu that referenced this pull request Dec 13, 2024
The DTC of version 1.6.1 generates the warning "Missing #address-cells
in interrupt provider". add `address-cells = <0>` to suppress "Missing
\#address-cells" warning provided by DTC v1.6.1

Reference: [sysprog21#37](sysprog21#37)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants