From nobody Thu Dec 18 13:03:09 2025 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 98E2F1F150A; Thu, 20 Feb 2025 11:31:35 +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=1740051095; cv=none; b=CLza0tIUgRs2dL3JJgw6Z7Dg5hOVeH7HRt3BxyAtosGDr43a9OpnUSczK0rJZ5khyelYbmxP0B1ObWowYVbXCYfB52ucOzjqHxNtZWoZpy48wYuKZzsFfI7NeslDHXUdhV6KgWU547G1uYjML2cwrj3hGKTcpJgaDkwVQEXjqvU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740051095; c=relaxed/simple; bh=+YgQGxrFni52QVQyqbITt31UYjErObaKrGzH0GffrDo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=WU0VhZDuyG8uTMykc8jZ702qQx/Wavs3Fc28yMbdXb0eeuPBRyu3rvolLTny4AylBYAXFHDEYgl0eJNPcRvy1bpRe1jPC5GWyTkxI6XeJZVdpVScQG3gwQ33JIZOUZCsK5FAyWNMR75TAtDR3nMZqWaH1CJyPHnSF2YIrJQAHwg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EZRVPLJt; 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="EZRVPLJt" Received: by smtp.kernel.org (Postfix) with ESMTPS id 0DEAEC4CED1; Thu, 20 Feb 2025 11:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740051095; bh=+YgQGxrFni52QVQyqbITt31UYjErObaKrGzH0GffrDo=; h=From:Date:Subject:To:Cc:Reply-To:From; b=EZRVPLJt89KCMZlV/Q7ROznbkUOrvVVBTWrH+qBdptgHGXAFZBLPAJto1YCGPi8mB UWyVm5nkfWIc3p6aCytgsgarzOOxhvmQc1hKPrAl/wIE7TatmkfBHBGeiykUAJY5EJ orJ1pKuWYi3XdMaka2rOWH2RH/xyrc+2MO3tRZx6JpnTEgSSH5xgG2rHFEwcThY3zA Jupl3d3fn13c4BSmLHsEzD6j5qZP0matBx6WdFtvNLalAltI1gsbZB6J55Owhb3tzX Grq6cyYQH0+Oizt3yycThUzNV/8vBOS3EI3ylmCq14wgitPz6eLs7b//kaff+HXWbh OyZjWdgZsUuww== 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 EE01AC021B1; Thu, 20 Feb 2025 11:31:34 +0000 (UTC) From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?= Date: Thu, 20 Feb 2025 12:31:24 +0100 Subject: [PATCH v3] 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: <20250220-ppcyaml-soc-v3-1-b8c98a61bc1a@posteo.net> X-B4-Tracking: v=1; b=H4sIAIsSt2cC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyjHUUlJIzE vPSU3UzU4B8JSMDI1MDIyMD3YKC5MrE3Bzd4vxk3eTEVMM0Q5PkNGMLSyWgjoKi1LTMCrBp0bG 1tQDQw/PdXQAAAA== 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=1740051094; l=3092; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=NAj+Jqp8KPeLt4L556NresRK/7mtlfJD3BTkH6XEDfQ=; b=svr6EYY1rL3k+PY+Cs6q2u237DnQIj+3pXfKA5mT8jlrXmGEKRocbcBDlYHRe97Q4p7MfMFu1 S0bDZ6K3hzaBbFzQJovWtbkKg34hQmOcP9jjL5yXQ+iLk3a+XHakeX/ 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 --- 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 | 67 ++++++++++++++++++= ++++ 1 file changed, 67 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..1d7ed67473ca447e0fd2e9b8f30= d20e18c601ccf --- /dev/null +++ b/Documentation/devicetree/bindings/powerpc/fsl/fsl,mpc83xx.yaml @@ -0,0 +1,67 @@ +# 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 + +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: 2014c95afecee3e76ca4a56956a936e23283f05b change-id: 20250220-ppcyaml-soc-cae1f14cf389 Best regards, --=20 J. Neusch=C3=A4fer