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

Cleanup usage of devicetree defaults #31942

Merged
merged 3 commits into from
Feb 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 1 addition & 21 deletions dts/bindings/clock/litex,clk.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2020 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

include: base.yaml
include: [clock-controller.yaml, base.yaml]

description: |
LiteX Mixed Mode Clock Manager
Expand All @@ -21,28 +21,8 @@ properties:

"#clock-cells":
required: true
type: int
description: |
Number of cells in a clock specifier;
Typically 0 for nodes with a single clock output
and 1 for nodes with multiple clock outputs.
const: 1

"#address-cells":
required: true
type: int
description: |
Number of cells that are needed to form the base address
part in the reg property.
default: 1

"#size-cells":
required: true
type: int
description: |
Used to state how many cells are in each field of a reg property
default: 0

clock-output-names:
required: true
type: string-array
Expand Down
2 changes: 0 additions & 2 deletions dts/bindings/cpu/cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ properties:
type: int
required: false
description: i-cache line size
default: 0
d-cache-line-size:
type: int
required: false
description: d-cache line size
default: 0
1 change: 0 additions & 1 deletion dts/bindings/interrupt-controller/gaisler,irqmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ properties:

eirq:
type: int
default: 0
description: Extended interrupt number (or 0 for none)

"#interrupt-cells":
Expand Down
2 changes: 0 additions & 2 deletions dts/riscv/riscv32-litex-vexriscv.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@
"drp_dat_w",
"drp_dat_r";
#clock-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
clocks = <&clk0 0>, <&clk1 1>;
clock-output-names = "CLK_0", "CLK_1";
litex,lock-timeout = <10>;
Expand Down