-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: PolarFire SoC Device Tree Updates
This add a device tree for Sundance Polarberry, along with various cleanups to the PolarFire SOC device trees and bindings. Link: https://lore.kernel.org/r/20220509142610.128590-1-conor.dooley@microchip.com * 'riscv-pfsoc-dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/palmer/linux: riscv: dts: icicle: sort nodes alphabetically riscv: microchip: icicle: readability fixes riscv: dts: microchip: add the sundance polarberry dt-bindings: riscv: microchip: add polarberry compatible string dt-bindings: vendor-prefixes: add Sundance DSP riscv: dts: microchip: make the fabric dtsi board specific dt-bindings: riscv: microchip: document icicle reference design riscv: dts: microchip: remove soc vendor from filenames riscv: dts: microchip: move sysctrlr out of soc bus riscv: dts: microchip: remove icicle memory clocks
- Loading branch information
Showing
8 changed files
with
181 additions
and
59 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
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
dtb-$(CONFIG_SOC_MICROCHIP_POLARFIRE) += microchip-mpfs-icicle-kit.dtb | ||
dtb-$(CONFIG_SOC_MICROCHIP_POLARFIRE) += mpfs-icicle-kit.dtb | ||
dtb-$(CONFIG_SOC_MICROCHIP_POLARFIRE) += mpfs-polarberry.dtb | ||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) |
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
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
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,16 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* Copyright (c) 2020-2022 Microchip Technology Inc */ | ||
|
||
/ { | ||
fabric_clk3: fabric-clk3 { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <62500000>; | ||
}; | ||
|
||
fabric_clk1: fabric-clk1 { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <125000000>; | ||
}; | ||
}; |
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,99 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* Copyright (c) 2020-2022 Microchip Technology Inc */ | ||
|
||
/dts-v1/; | ||
|
||
#include "mpfs.dtsi" | ||
#include "mpfs-polarberry-fabric.dtsi" | ||
|
||
/* Clock frequency (in Hz) of the rtcclk */ | ||
#define MTIMER_FREQ 1000000 | ||
|
||
/ { | ||
model = "Sundance PolarBerry"; | ||
compatible = "sundance,polarberry", "microchip,mpfs"; | ||
|
||
aliases { | ||
ethernet0 = &mac1; | ||
serial0 = &mmuart0; | ||
}; | ||
|
||
chosen { | ||
stdout-path = "serial0:115200n8"; | ||
}; | ||
|
||
cpus { | ||
timebase-frequency = <MTIMER_FREQ>; | ||
}; | ||
|
||
ddrc_cache_lo: memory@80000000 { | ||
device_type = "memory"; | ||
reg = <0x0 0x80000000 0x0 0x2e000000>; | ||
}; | ||
|
||
ddrc_cache_hi: memory@1000000000 { | ||
device_type = "memory"; | ||
reg = <0x10 0x00000000 0x0 0xC0000000>; | ||
}; | ||
}; | ||
|
||
/* | ||
* phy0 is connected to mac0, but the port itself is on the (optional) carrier | ||
* board. | ||
*/ | ||
&mac0 { | ||
phy-mode = "sgmii"; | ||
phy-handle = <&phy0>; | ||
status = "disabled"; | ||
}; | ||
|
||
&mac1 { | ||
phy-mode = "sgmii"; | ||
phy-handle = <&phy1>; | ||
status = "okay"; | ||
|
||
phy1: ethernet-phy@5 { | ||
reg = <5>; | ||
ti,fifo-depth = <0x01>; | ||
}; | ||
|
||
phy0: ethernet-phy@4 { | ||
reg = <4>; | ||
ti,fifo-depth = <0x01>; | ||
}; | ||
}; | ||
|
||
&mbox { | ||
status = "okay"; | ||
}; | ||
|
||
&mmc { | ||
bus-width = <4>; | ||
disable-wp; | ||
cap-sd-highspeed; | ||
cap-mmc-highspeed; | ||
card-detect-delay = <200>; | ||
mmc-ddr-1_8v; | ||
mmc-hs200-1_8v; | ||
sd-uhs-sdr12; | ||
sd-uhs-sdr25; | ||
sd-uhs-sdr50; | ||
sd-uhs-sdr104; | ||
status = "okay"; | ||
}; | ||
|
||
&mmuart0 { | ||
status = "okay"; | ||
}; | ||
|
||
&refclk { | ||
clock-frequency = <125000000>; | ||
}; | ||
|
||
&rtc { | ||
status = "okay"; | ||
}; | ||
|
||
&syscontroller { | ||
status = "okay"; | ||
}; |
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