From nobody Wed Dec 17 12:12:45 2025 Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8D7E1F4C97 for ; Fri, 28 Mar 2025 21:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743195770; cv=none; b=WS4PZfK4/K+5fk0pk3XOgNqNr/+6rQk4YH56hj1ykAahbJh9+vhcrWQNowwpRbyQ8F6BiAayehHce4aPVN2HEk/swxW8zQ7luGBWMngttZuaL7pzVENnn7RDPRECePcOMIE8BSUFn6csLZR3//5TIrGBraw6zZZXTX4jldJCYvs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743195770; c=relaxed/simple; bh=qVNF/97Fzr1SWnglsbvekG+r808MZVRjwdBPHhVs+jM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WJ6YaNvipl24YuBeCe/ivsFPxRch5Z14S9Qev0faQEAoJ5YMfmba4aslatplSOSw1Clu/6kL1qz6bc/mfHEPT1eH1cfITeIDnMF2PXP/iLdTXuj2eMFd+vkkpz7UcmfA8xOerOqfbE4AxPIcLgS+ygE0y6agTdYkYSj+2d71kFI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b=CJ+RyN9R; arc=none smtp.client-ip=209.85.166.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b="CJ+RyN9R" Received: by mail-io1-f53.google.com with SMTP id ca18e2360f4ac-85dac9729c3so192122839f.2 for ; Fri, 28 Mar 2025 14:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1743195768; x=1743800568; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Up6UVO27Yn/XqWtQdUwLGOA59Ljhuzuee1Xv/FAc+zk=; b=CJ+RyN9RpRelRlmPUEU53s9zgD27jdtZod7yaP2ba6eoB5sTvH6lMdSeMqW6zkJec7 Z7YDJEwtPaaRb9tougW3du4L/h5Lv/IQpcWE9bUGnXilU47dk1F17ouAm/1HUgrUAw75 5Uya1kNPEGe4Y2QqRkucUvDQ62+4CZISfVt+nNnvzVAVaafvVwLcvLNYD7CBXlJrNaI9 7qeQit6lcf4egmXug8tEo7oHAoyPkkjmnsr8Ga2tYR5zAX7oWdP8Ov37KOw8pgkY0sLB me3mDuVlFxvXFeAaCXTq4J80m1ht+lneoB5F/+304mVmjJajsm68i/AObrmzN0h60Ayk vKPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743195768; x=1743800568; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Up6UVO27Yn/XqWtQdUwLGOA59Ljhuzuee1Xv/FAc+zk=; b=UlHLC9mcap+RdGXVUx5gLs6Y9mMWcmFuzxd/fjuGVc96kg6Mdlzotq8v3r5igN+rZm O+H/6jUflVlBjGCTMt5MnBEhMzlSFBDjr5F7Sv03F8M0RDB+rlYCM1+d4ZE6mpwKRije H+LQvF/kyOkgmHTlVQxrzd3ykG5zBSU4vgmK+ColZkq3r5Rl6oM3L1Jk5HqH7PNm9iSO ZRcNKLN+PPflTXoEjN2dapuh0drIRTd8OcVn3aA53n+cWYh/HOT6lHpIldgoVQVXYoQ9 HsO31vYYFGiEIF3GuhOsRBazI8J/x4oucBRJfNhFNCWcXFIAv4Iz24x4O3jA4IevpV1n Rpfg== X-Forwarded-Encrypted: i=1; AJvYcCXmQmspbNKzskRxemn1hjHT8Pl0wpZt4FMDDx/7gO99SwFMikBp3JGJTsF8w25oxYZa/5ZhUa4+ekNpEBE=@vger.kernel.org X-Gm-Message-State: AOJu0YzbgCMzecj+MVEmhD6r14EqlWRoeAS5V0UW7BR6Uk6iVOY8YrNa GXu0LWhOs2v1iDVgZFEdKlpDXhAhbDOhEpQvjlZYnVwW/2QVLebzgWPt4paaWn4= X-Gm-Gg: ASbGncsnN4JdbAoKkEAlTqQedUv1T7Ybmj3h0iuk7DO6iGDOm6fap+qfacahr9t21/l kK/9QB470sfMKU9R5LHEPbiVNSofEcYHWO/zV6q97EIwT447LXyOdAkwQYfoDUs1wWm4MyH8q8l jryvtQj4V/JfwCOX9gYt+d+hjfQ6zptgwHar9hruh1vDQYpAmt2IQVYHdCEhZeHJcUvpgFVgsqZ 58ytqfQFKbyA+Nc01+Gdjax55D/MZm9r74tUqDW3JufdYzuaXZU+dCAMOaFBTkJ8uoyQtRf2Zo1 tnEyl10FMhrbJom89TrtLBJVPFtncMsS2OS/AxhSqSGAwXXBApyhuwHHxW9AOYUUHBitEQXG0T5 4eAqP964kZ9+z4ZtzCA== X-Google-Smtp-Source: AGHT+IGycY5TIkiYNgkSFBznHFQkpXRLd390tmdbEA+ih3++uzphzN5QAmfZxFmfAoPvrq6k/CN1+Q== X-Received: by 2002:a05:6e02:23ca:b0:3d3:e296:1c1c with SMTP id e9e14a558f8ab-3d5e090e3e0mr11364365ab.9.1743195767546; Fri, 28 Mar 2025 14:02:47 -0700 (PDT) Received: from localhost.localdomain (c-73-228-159-35.hsd1.mn.comcast.net. [73.228.159.35]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3d5d5a74286sm6769405ab.39.2025.03.28.14.02.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Mar 2025 14:02:47 -0700 (PDT) From: Alex Elder To: p.zabel@pengutronix.de, mturquette@baylibre.com, sboyd@kernel.org, dlan@gentoo.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heylenay@4d2.org, guodong@riscstar.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, spacemit@lists.linux.dev, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 7/7] riscv: dts: spacemit: add reset support for the K1 SoC Date: Fri, 28 Mar 2025 16:02:32 -0500 Message-ID: <20250328210233.1077035-8-elder@riscstar.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250328210233.1077035-1-elder@riscstar.com> References: <20250328210233.1077035-1-elder@riscstar.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Define syscon nodes for the RCPU, RCPU2, and APBC2 SpacemiT CCUS, which currently support resets but not clocks in the SpacemiT K1. Signed-off-by: Alex Elder --- arch/riscv/boot/dts/spacemit/k1.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k1.dtsi b/arch/riscv/boot/dts/spa= cemit/k1.dtsi index 09a9100986b19..f86d1b58c6d35 100644 --- a/arch/riscv/boot/dts/spacemit/k1.dtsi +++ b/arch/riscv/boot/dts/spacemit/k1.dtsi @@ -350,6 +350,18 @@ soc { dma-noncoherent; ranges; =20 + syscon_rcpu: system-controller@c0880000 { + compatible =3D "spacemit,k1-syscon-rcpu"; + reg =3D <0x0 0xc0880000 0x0 0x2048>; + #reset-cells =3D <1>; + }; + + syscon_rcpu2: system-controller@c0888000 { + compatible =3D "spacemit,k1-syscon-rcpu2"; + reg =3D <0x0 0xc0888000 0x0 0x28>; + #reset-cells =3D <1>; + }; + syscon_apbc: system-control@d4015000 { compatible =3D "spacemit,k1-syscon-apbc"; reg =3D <0x0 0xd4015000 0x0 0x1000>; @@ -518,6 +530,12 @@ clint: timer@e4000000 { <&cpu7_intc 3>, <&cpu7_intc 7>; }; =20 + syscon_apbc2: system-controller@f0610000 { + compatible =3D "spacemit,k1-syscon-apbc2"; + reg =3D <0x0 0xf0610000 0x0 0x20>; + #reset-cells =3D <1>; + }; + sec_uart1: serial@f0612000 { compatible =3D "spacemit,k1-uart", "intel,xscale-uart"; reg =3D <0x0 0xf0612000 0x0 0x100>; --=20 2.45.2