Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4389811pxf; Tue, 30 Mar 2021 06:50:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUojBDExmXuDn7B49XiHlx+k2ELs8PCKqL2SuDaCukbYZmaamjU5tlSBUVNHsUYePF7zeR X-Received: by 2002:a50:f311:: with SMTP id p17mr35139151edm.188.1617112217321; Tue, 30 Mar 2021 06:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617112217; cv=none; d=google.com; s=arc-20160816; b=EjmKUoNjisO6XOzg8IuhnJ0TK8JZEADkpmOaZ1mqTY6m0CGugWVQxhqVJ+Qj9Lt8Hj 1XZrWo0SVcCJdP8xYhV9n36vUxSqo8ZlUrontl2G9WWLSASFc512mTQEdOSUc5oU9Z5S WDwX4ukqXDX+PtUQD59yD/IqYQ289xYHFYoRwX4RJHPCZ9w/RTAVoam1IaS95hjOI9/q DZpWpRAV/LAivNqivZ6jlnL/iyCm9IR/ZNGS/em5GS9V/tIFHZzHLYXDE2vigb/wUalF 3LGCwQokfWPYYBfYCYT/7NxFPJzfmLGvB7S8fmetorEVBTrjcCui1a1vosl4dG+Mq1DP MWWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3+3EOZ+BiKLMx9cVwQE1QQOnnXxodL6X9K+oNxH3xRA=; b=q2DXR8kNxJ/KM3QI5zgFfCZsqdZU4ElVMYz5DrVn23aVFPrvOvIOt5Ns6Sasc8fjq8 dywHIP2laiV7dMNon+HelDbJndZLaCrwbsk/o1GIf/BcZOimyP6T4LYD9iN2jvdlD3mk WIT9vSYogl/hSMUdwf2BexK5ZSg5y8rzehS4p6cZOGSuVRKWgCeReG+hjPRHbD2Ls9KA Wr0UmDa7L51cR0nL0Xeq7fuungbfaer+47YF1rD+higd8L72VtP0tYPN7AUYPhUBx3EM fXQuUoJ4/c7lEcuaXtnLdjgrinvh3ncFWOKny4aOmE59cMY8nTI8EQQxO6c2/9Uj7TJ9 Nzyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aetLVVkZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si15855732ejf.96.2021.03.30.06.49.49; Tue, 30 Mar 2021 06:50:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aetLVVkZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232225AbhC3Ns7 (ORCPT + 99 others); Tue, 30 Mar 2021 09:48:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231622AbhC3Ns1 (ORCPT ); Tue, 30 Mar 2021 09:48:27 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00C34C061574; Tue, 30 Mar 2021 06:48:26 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id hq27so24919818ejc.9; Tue, 30 Mar 2021 06:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3+3EOZ+BiKLMx9cVwQE1QQOnnXxodL6X9K+oNxH3xRA=; b=aetLVVkZ9mDP/zHp1Z3wAEtDs0G3k4Tgtptg9qVC62yVxuFcH/bH1NKhYnqHujMlzy arsR73JfiOqoA1WGXiekmexSG94s65xPe3QOrPdzQOQBTQENKaaEUaSP/WjKa6b2ay1h 8rl8AqJUJjJoED2GTGlS9Tmy3zLJSPlQ6/GPNLyLwpMQ7ER6qEpYnglksXSNA/1YdzxK 5GnLVrMPfIxHcqkMnP2BG8iEC3FyratKojpbYUBabSnBTQ8Smreb31JqO4hN+iXZ6JM8 zLCgPOm7n9iPHUGJSdgVm3qjxg2Z3LbvXngFAikxm2rCaoJ689Jvo/vevXL/1JW9K6kN DdwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3+3EOZ+BiKLMx9cVwQE1QQOnnXxodL6X9K+oNxH3xRA=; b=VDOs+Lueq8rx0i9P1Si0gBs9+/lavgrH2K3z47OlYai28SGejYHkmOZNkOHSZdXV8D b8GxPk9H4sp2jDSU7WEElbeLyBkvom8Y8+p2eUCylA38O3xy3vbRR/LosmSTwjMqf+xl nQO8ITmg8mu6mpkLzC3gGOMZHovdsFL7Vp5ILKgLY5lHKLmu4Be9FTejFMWstgeswOTk xafw+PwXXCK055pN11H+BYqj6JJLEJth9f0rrn1lYIUCRBd7MpfI3Z9y1TX/fYghGu5Z TTQ366zPyJQfX2uyLiNQMHvD+srZUzNNseItEKNVTTq4Gj0Rsdh6YRGNxrWd3Xin0A9b /Jnw== X-Gm-Message-State: AOAM530ud+FJ7nDQxDTHydrn5m2WNP73uPzK8uNwJ8xprchWiWRvj4JA hD7el8PYlPhLOV8/quuOEUt3fbNgEyg= X-Received: by 2002:a17:906:3c50:: with SMTP id i16mr33973863ejg.175.1617112105598; Tue, 30 Mar 2021 06:48:25 -0700 (PDT) Received: from localhost.localdomain ([188.24.140.160]) by smtp.gmail.com with ESMTPSA id l12sm11114681edb.39.2021.03.30.06.48.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 06:48:25 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Manivannan Sadhasivam Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding Date: Tue, 30 Mar 2021 16:48:16 +0300 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree binding for the Actions Semi Owl SoC serial number reserved-memory range. Signed-off-by: Cristian Ciocaltea --- .../actions,owl-soc-serial.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml diff --git a/Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml b/Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml new file mode 100644 index 000000000000..41b71f47ee6c --- /dev/null +++ b/Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reserved-memory/actions,owl-soc-serial.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl reserved-memory for SoC serial number + +maintainers: + - Cristian Ciocaltea + +description: | + Provide access to the memory region where the two parts of the Actions + Semi Owl SoC serial number (low & high) can be read from. This information + is provided by the bootloader, hence expose it under /reserved-memory node. + + Please refer to reserved-memory.txt in this directory for common binding + part and usage. + + This is currently supported only on the S500 SoC variant. + +properties: + compatible: + oneOf: + - const: actions,owl-soc-serial + - items: + - enum: + - actions,s500-soc-serial + - const: actions,owl-soc-serial + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: true + +examples: + - | + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + soc_serial: soc-serial@800 { + compatible = "actions,s500-soc-serial", "actions,owl-soc-serial"; + reg = <0x800 0x8>; + }; + }; + +... -- 2.31.1