From patchwork Sun Oct 20 18:21:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843208 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DFB41D3C92F for ; Sun, 20 Oct 2024 18:31:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vusWTnCz/1sObXYKY1keEPs26uHgXaV2tYOQstmgfG4=; b=WnS9NYfIxKlqcm3tIQZuxE/jmG eBHVB4hjfMlF13VgRKvA1BToosEx8vOWL+aiOTbh3QSOhzsErFkZuqP6tzOXSPQu+JUs6jlRWppsT JTXx1TknQtT1vouVOljWUe42+DY5RoDjazryUmYPR/ZnpKxAXhrc/l0vR7hKotMB/PBjD0A+r3cy0 xgkFqvlqeXNAebtKQHDL8v9bfMyCHXv3UcCm+polZweXfCERnl0R+1rC5bNZmZ3EFNHUTL6Tg0EJU Hp8PJIAWF8dbHVyDQMPsWvApuxk1WVXis5AoJqPqF/GjEsIogHW1S5YtIi7BUCMlV11KuR2h1kRQV hV+cyu8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2ahV-00000005G84-41CX; Sun, 20 Oct 2024 18:30:49 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2aZ0-00000005F9Z-3Rri for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 18:22:04 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-37d4c482844so2556338f8f.0 for ; Sun, 20 Oct 2024 11:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729448521; x=1730053321; darn=lists.infradead.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=vusWTnCz/1sObXYKY1keEPs26uHgXaV2tYOQstmgfG4=; b=f9xhbUA5Yuk9xnWWElY72OSJDgjHSG9tr19AcUuvWt4DyTLN+s4RtpWb1o3VS6A1CP 17hNP9gZGtebpdoCQvCngkQzquigwCM3CZGnBJ55ywnt1e8DSOFLRg/kvh4uHKtJyqzA 29BaUlfkc+fWqBbebMYDVEvYe8kp5l12X8u281HMzdkqSAWZZxr//Bf59Ofk1MrZUxq4 Z+UgJ6u1g7BJ5xJFsf/S2Pxhb9pnzE9+2lOk4hk/6cC3kcI6RGXmAxQOYSkAmQr1GhvD quHuLUhqSvYIxEC0KKGxxaiRxqLkGoYOIOhfB5IHDZO4pOvo2V++hRhfsAh7+LVJTAdQ uCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729448521; x=1730053321; 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=vusWTnCz/1sObXYKY1keEPs26uHgXaV2tYOQstmgfG4=; b=cxP+1fNiusmzQDapw4+4hJaOQVTblQVgAoQhTUwXMw20FX6fRMNC2Gs98ruwKnvO68 YXjip8pLpey9QhUlrrq8sWx0OzAML44bEWlZ8mjoljHXLUqyGQsLeCS08KjdhiWWPMp7 3u0Xv81QhN1cAW1YTZ7JJwsqHThzZbOUQi6FlvkVBf/uDk5Gyiv+0JucGOSzaJw3ULze JWMCXLCR+481wPbPY4h0lczyYInHJ2mARff73g0RXx82eYxSwQT8j+Xmx53ZPfWyY1Ip aE5Str2LShPvJRPOXhIY6ij+7CSyo/ND9sh+srNXK5tLjXFjTc6N6OJMSU+mZCoR9FxS F8CQ== X-Forwarded-Encrypted: i=1; AJvYcCXBLKEvrO09omtJ35MXR12bn/CjdIBTJG8Vx0AalWXC6XxNPyPPQWAkwSPQzlEre+aoIaK0eWrtbIfU+IO5VpOg@lists.infradead.org X-Gm-Message-State: AOJu0YyGKg/Mg3e4L9LeJsKaNmlBN63YMVTXcihaVfDGf1s7y5PjEAaU Ipz1Gcv4Io1P5nUkaEuPMsy4ndC6Y+wqjNhw8pm2cIfHOy+9hngA X-Google-Smtp-Source: AGHT+IEVn1bgu6i8w+sQTRqs3eb30dA3LNaVp1FKzkemUXiHiVF+qKDmNgVm3K2iwD+2dK1ZsiInZg== X-Received: by 2002:adf:f209:0:b0:378:fe6e:50ef with SMTP id ffacd0b85a97d-37eab7272damr5381184f8f.5.1729448520680; Sun, 20 Oct 2024 11:22:00 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48903sm2276459f8f.37.2024.10.20.11.21.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 11:21:59 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/6] arm64: dts: exynos8895: Add serial_0/1 nodes Date: Sun, 20 Oct 2024 21:21:20 +0300 Message-ID: <20241020182121.377969-6-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> References: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_112202_879653_D663031B X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add nodes for serial_0 (UART_DBG) and serial_1 (UART_BT), which allows using them. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index c95e4713a..c57b7243d 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -218,6 +218,19 @@ cmu_peric0: clock-controller@10400000 { "usi01", "usi02", "usi03"; }; + serial_0: serial@10430000 { + compatible = "samsung,exynos8895-uart"; + reg = <0x10430000 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_UART_DBG_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_UART_DBG_EXT_UCLK>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_bus>; + samsung,uart-fifosize = <256>; + status = "disabled"; + }; + pinctrl_peric0: pinctrl@104d0000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x104d0000 0x1000>; @@ -250,6 +263,19 @@ cmu_peric1: clock-controller@10800000 { "usi10", "usi11", "usi12", "usi13"; }; + serial_1: serial@10830000 { + compatible = "samsung,exynos8895-uart"; + reg = <0x10830000 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_UART_BT_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_UART_BT_EXT_UCLK>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&uart1_bus>; + samsung,uart-fifosize = <256>; + status = "disabled"; + }; + pinctrl_peric1: pinctrl@10980000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x10980000 0x1000>;