[PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
Matthias Brugger
mbrugger at suse.com
Wed Mar 12 05:52:52 PDT 2025
On 12/03/2025 13:50, Conor Dooley wrote:
> On Wed, Mar 12, 2025 at 01:03:09PM +0100, Matthias Brugger wrote:
>> On Tue, Mar 11, 2025 at 01:04:26PM +0530, Pinkesh Vaghela wrote:
>>> From: Pritesh Patel <pritesh.patel at einfochips.com>
>>>
>>> Add DT binding documentation for the ESWIN EIC7700 SoC and
>>> HiFive Premier P550 Board
>>>
>>> Signed-off-by: Pritesh Patel <pritesh.patel at einfochips.com>
>>> Reviewed-by: Samuel Holland <samuel.holland at sifive.com>
>>> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela at einfochips.com>
>>> ---
>>> .../devicetree/bindings/riscv/eswin.yaml | 29 +++++++++++++++++++
>>> MAINTAINERS | 6 ++++
>>> 2 files changed, 35 insertions(+)
>>> create mode 100644 Documentation/devicetree/bindings/riscv/eswin.yaml
>>>
>>> diff --git a/Documentation/devicetree/bindings/riscv/eswin.yaml b/Documentation/devicetree/bindings/riscv/eswin.yaml
>>> new file mode 100644
>>> index 000000000000..c603c45eef22
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/riscv/eswin.yaml
>>> @@ -0,0 +1,29 @@
>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/riscv/eswin.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: ESWIN SoC-based boards
>>> +
>>> +maintainers:
>>> + - Min Lin <linmin at eswincomputing.com>
>>> + - Pinkesh Vaghela <pinkesh.vaghela at einfochips.com>
>>> + - Pritesh Patel <pritesh.patel at einfochips.com>
>>> +
>>> +description:
>>> + ESWIN SoC-based boards
>>> +
>>> +properties:
>>> + $nodename:
>>> + const: '/'
>>> + compatible:
>>> + oneOf:
>>> + - items:
>>> + - enum:
>>> + - sifive,hifive-premier-p550
>>> + - const: eswin,eic7700
>>
>> That should be the other way around. You could have, let's say eic7701
>> with different peripherals but smae p550 IP core. I don't expect a new
>> eic7700 with a CPU IP other then p550.
>
> No, this is correct. The SoC is made by Eswin (eic7700) and the board
> (hifive premier) by SiFive. None of the compatibles listed here are for
> the IP core.
>
> If there's another SoC with different peripherals and the same p550 IP
> core, I would expect a new SoC compatible /and/ a new board compatible.
>
Right I mixed up CPU IP core and SoC, so:
Reviewed-by: Matthias Brugger <matthias.bgg at kernel.org>
More information about the linux-riscv
mailing list