From nobody Sat Feb 7 23:06:58 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3EF32367CC; Sat, 12 Apr 2025 14:09:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744466980; cv=none; b=Fijd/8idow5NdYpi5AFXxhmd4pSKY4dpjg4gaJu151N7Hy1EyMiIpBce2W4CxVHVjo/hQaPI8puJO2JshefN2cUio0ApF/D7H6ZJrPmZ5LRIdNMSamfSmtbmNA2wH0fn+eWuH7wANShbsIwqg3uJHyzXajwa5Kb8e8Wv9bf7Kwc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744466980; c=relaxed/simple; bh=tMRlI8+sSKuu9ZmukwLQTti70ORkwjFUDohaNELHm3I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=X9xiG98PtvrJaf6xb5bSzkWodjS7A0l00DPU7uCpKh8zp/tpk3vRP8jhPUge2jWbWt+tjJBT/818/Stplx886cKTmCcXPF9ap6rxE8PGKOpNR0AULBB97r4yl0/eka28IjY6LU3P3owpaLFVRU0XjoJ34Bk42vit7lZ17LzoMY0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WDJUvVok; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WDJUvVok" Received: by smtp.kernel.org (Postfix) with ESMTPS id 26261C4CEE3; Sat, 12 Apr 2025 14:09:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744466980; bh=tMRlI8+sSKuu9ZmukwLQTti70ORkwjFUDohaNELHm3I=; h=From:Date:Subject:To:Cc:Reply-To:From; b=WDJUvVok9f1AnfhvVQLBUhea5yz4QTA0voOOM/ooZe0MuJLJ4CNm5gIPHXHksP9Zp n3sb9MAMThntj/7MMO5D4uHDVa4YQayA1+v0B2UOdC4ldaq/5Lyf9iJojbzc7mYKdf 7DM+uCraHhbAiYQkLILG3eblkQecbZn91FZYi1EP0lmKVEex508w9L9fCoqY6QiZf2 1s2EnAVXrW25pj8h8p5KEFiMN6lGnqh6eOIhh2RJ9HCM7lrvydylyOUlkhEEtiqTZt 6Skyhp/iTJ+Qbp526jem07a2phhmg30szOHpNnPVdeChYFdUaM42s+QzYznNjgLdax C/uN5kLGc1fIw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0531FC369AE; Sat, 12 Apr 2025 14:09:40 +0000 (UTC) From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?= Date: Sat, 12 Apr 2025 15:55:38 +0200 Subject: [PATCH v4] dt-bindings: powerpc: Add Freescale/NXP MPC83xx SoCs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250412-ppcyaml-soc-v4-1-bd34f4613d31@posteo.net> X-B4-Tracking: v=1; b=H4sIANlw+mcC/23MSw7CIBSF4a00dyyGRzXUUfdhOqDXiyXRQoAQm 4a9ix07/E9yvh0SRUcJbt0OkYpLzq8t+lMHuJj1Scw9WoPk8sKl5CwE3Mz7xZJHhoaEFT1apQd ojxDJus+h3afWi0vZx+3Ai/qt/52imGCzxkGbq5hRmDH4lMmfV8ow1Vq/F6KQAacAAAA= X-Change-ID: 20250220-ppcyaml-soc-cae1f14cf389 To: Scott Wood , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Naveen N Rao , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1744466978; l=4043; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=6plfv1l6lzxqkUoN3xWxPFcjS2rxaHYhhOY/zeHTkAc=; b=lb4ghCUhlUAhV9xnysDHjXOBUe4iE8OSsf2qv12XoN8Ph2gJR6gadDhcf5HTp1+pXe9+oWbN7 kvkZJId0swnCiKK7IFm5AP7jtsTrexZZPorHMEM8EHVpYObW2vLUXIO X-Developer-Key: i=j.ne@posteo.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Endpoint-Received: by B4 Relay for j.ne@posteo.net/20240329 with auth_id=156 X-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: j.ne@posteo.net From: "J. Neusch=C3=A4fer" Add a new binding for MPC83xx platforms, describing the board compatible strings used in currently existing device trees. Note that the SoC bus is called immr@... in many existing devicetrees, but this contradicts the simple-bus binding. Reviewed-by: Rob Herring (Arm) Signed-off-by: J. Neusch=C3=A4fer Reviewed-by: Christophe Leroy --- Changes in v4: - Rebase on v6.15-rc1 - Link to v3: https://lore.kernel.org/r/20250220-ppcyaml-soc-v3-1-b8c98a61b= c1a@posteo.net --- V4: - Try to list all existing compatible strings for MPC83xx boards V3: - split out as a single patch - otherwise no changes V2: - part of series [PATCH v2 00/12] YAML conversion of several Freescale/Powe= rPC DT bindings Link: https://lore.kernel.org/lkml/20250207-ppcyaml-v2-1-8137b0c42526@pos= teo.net/ - trim subject line - fix property order to comply with dts coding style - add Rob Herrings's R-b tag --- .../bindings/powerpc/fsl/fsl,mpc83xx.yaml | 93 ++++++++++++++++++= ++++ 1 file changed, 93 insertions(+) diff --git a/Documentation/devicetree/bindings/powerpc/fsl/fsl,mpc83xx.yaml= b/Documentation/devicetree/bindings/powerpc/fsl/fsl,mpc83xx.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9e37d155c5829a652d1e4e59536= b6586a58d530e --- /dev/null +++ b/Documentation/devicetree/bindings/powerpc/fsl/fsl,mpc83xx.yaml @@ -0,0 +1,93 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/powerpc/fsl/fsl,mpc83xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale PowerQUICC II Pro (MPC83xx) platforms + +maintainers: + - J. Neusch=C3=A4fer + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: MPC83xx Reference Design Boards + items: + - enum: + - fsl,mpc8308rdb + - fsl,mpc8315erdb + - fsl,mpc8360rdk + - fsl,mpc8377rdb + - fsl,mpc8377wlan + - fsl,mpc8378rdb + - fsl,mpc8379rdb + + - description: MPC8313E Reference Design Board + items: + - const: MPC8313ERDB + - const: MPC831xRDB + - const: MPC83xxRDB + + - description: MPC8323E Reference Design Board + items: + - const: MPC8323ERDB + - const: MPC832xRDB + - const: MPC83xxRDB + + - description: MPC8349E-mITX(-GP) Reference Design Platform + items: + - enum: + - MPC8349EMITX + - MPC8349EMITXGP + - const: MPC834xMITX + - const: MPC83xxMITX + + - description: Keymile KMETER1 board + const: keymile,KMETER1 + + - description: MPC8308 P1M board + const: denx,mpc8308_p1m + +patternProperties: + "^soc@.*$": + type: object + properties: + compatible: + oneOf: + - items: + - enum: + - fsl,mpc8315-immr + - fsl,mpc8308-immr + - const: simple-bus + - items: + - const: fsl,mpc8360-immr + - const: fsl,immr + - const: fsl,soc + - const: simple-bus + - const: simple-bus + +additionalProperties: true + +examples: + - | + / { + compatible =3D "fsl,mpc8315erdb"; + model =3D "MPC8315E-RDB"; + #address-cells =3D <1>; + #size-cells =3D <1>; + + soc@e0000000 { + compatible =3D "fsl,mpc8315-immr", "simple-bus"; + reg =3D <0xe0000000 0x00000200>; + #address-cells =3D <1>; + #size-cells =3D <1>; + device_type =3D "soc"; + ranges =3D <0 0xe0000000 0x00100000>; + bus-frequency =3D <0>; + }; + }; + +... --- base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8 change-id: 20250220-ppcyaml-soc-cae1f14cf389 Best regards, --=20 J. Neusch=C3=A4fer