From patchwork Sun Jul 22 21:20:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 142511 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5356779ljj; Sun, 22 Jul 2018 14:20:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpecbvdKVMVw2lF4uYGvIqojmTKauM/1CrXCrUkvGjaVy1xJKWhucB1lzMvuI6WvJZmB02lD X-Received: by 2002:a63:da04:: with SMTP id c4-v6mr9347297pgh.398.1532294433453; Sun, 22 Jul 2018 14:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532294433; cv=none; d=google.com; s=arc-20160816; b=RWgUe1Q0afaCEBxFJQQADjMGz0lHzJ7UdWuQJw6iYztjbAZXmAknw0dTPzH+UJsaoY fJ4syZuxJ0zA1GbyyBawYpggtaZQv3P0wsk7vZnuIxoJP1jbPaz8elgkvhuakB/U3WQP N3sktndIHg7MuuF1sfYlABLBb8ms/neHeGnazH9LnmsmldcwWQ341fb6RS/Nprct26wP uhQIps6Vr85b+h+dFo4CGvAYnkOmnTtgbcsh0L9WmcCVykdjijaKhcinlzTF2szPBSyz 4bErJBlsAFECMVCAr2nHiz4IN/dI3KR0wJ3UCgq2NxsUfb7DczQrI4AJFS7yvaekI+jq Uzhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=0grAUuA3B34ad7hXV7B5qB3rchZtPCoafXCiDFlZyEw=; b=lSpj9ATrSN4pfWpxAIRIuV8FuohmLSQlopSazMK1ESSezkzkkPdaVAEzP8oU0E7Qk7 paG+63IQcreh1a2yD6f27KOu05qPfPv+VMlW9oH/yOz0XOsmb1pbyYQ3WmfITvRYY8qM why+GfCtBvKBfRI+2V0oh2DELXxJQdpZ/GygIVnnqgGtbpDTE6D3KAPUIf78+kyxafgm DEtpj2+ybz5KgvO10hTSMwJGqH8QYpRH5NpWgaVhqA5al5Zne+m60iPahelMGqCM2MOh 5xgv8YwoofLCKNMtbXQycbLcx3MthHwd3ZH6wXuuIROS7ymAQMHGJDww9ft0s+YaEkiz BVYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k23-v6si7074765pgl.633.2018.07.22.14.20.33; Sun, 22 Jul 2018 14:20:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387736AbeGVWSX (ORCPT + 5 others); Sun, 22 Jul 2018 18:18:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:38792 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730327AbeGVWSX (ORCPT ); Sun, 22 Jul 2018 18:18:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 150E2AFCC; Sun, 22 Jul 2018 21:20:21 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-mips@linux-mips.org Cc: Ralf Baechle , Paul Burton , James Hogan , linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rahul Bedarkar , James Hartley , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH 07/15] MIPS: dts: img: pistachio_marduk: Add SPI UART node Date: Sun, 22 Jul 2018 23:20:02 +0200 Message-Id: <20180722212010.3979-8-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180722212010.3979-1-afaerber@suse.de> References: <20180722212010.3979-1-afaerber@suse.de> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The mikroBUS and Raspberry Pi B+ connector UARTs are behind an SC16IS752 SPI-UART bridge. Add it in order to be able to use these connectors. Note: For UART flow control two pairs of jumpers need to be configured. Signed-off-by: Andreas Färber --- arch/mips/boot/dts/img/pistachio_marduk.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.16.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/mips/boot/dts/img/pistachio_marduk.dts b/arch/mips/boot/dts/img/pistachio_marduk.dts index b0b6b534a41f..f682d0a5a3d9 100644 --- a/arch/mips/boot/dts/img/pistachio_marduk.dts +++ b/arch/mips/boot/dts/img/pistachio_marduk.dts @@ -159,6 +159,18 @@ <&gpio1 13 GPIO_ACTIVE_HIGH>, <&gpio1 14 GPIO_ACTIVE_HIGH>; + sc16is752: uart@0 { + compatible = "nxp,sc16is752"; + reg = <0>; + spi-max-frequency = <4000000>; + interrupt-parent = <&gpio0>; + interrupts = <11 IRQ_TYPE_EDGE_FALLING>; + clocks = <&ca8210>; + + gpio-controller; + #gpio-cells = <2>; + }; + ca8210: sixlowpan@4 { compatible = "cascoda,ca8210"; reg = <4>;