Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5143109imm; Sun, 22 Jul 2018 14:22:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdvIQTUfoEjpQWIrwrdMpFdXmgmztFIEA4FAqed1H4SCwuGtclpq7yom1uMYl+8YMm7CoFm X-Received: by 2002:a63:a1a:: with SMTP id 26-v6mr9774545pgk.221.1532294553872; Sun, 22 Jul 2018 14:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532294553; cv=none; d=google.com; s=arc-20160816; b=rQZo5FQ7tY9Tx8avoAp8ywk8GxHItaLP9ugU+SlLvN9Ob6TXV5Ld+RsonYBQJRJ+yt 21wJ7AGJGUPDonaTcQdtdbYy4p1cUnP8S4akAD072QBR+8xaJNrjBLzao02ZvpqCNaHk 6JExD/rXPKkYrHQgvQ8/6h6z/J9FR6VeaELk4VW5ZkAJ3Hc8betUo/shm5+pGH9JEKPI nwciZfchoVZv0bwgVDMPtLEGuSrpFZLiTi+6xi06HThEEfTeCXAvyX/M2zpj/nHSdXJW 0TzgZyk6vilKaxzVQfB2CmaqN7WJvcwS/5wX6AHu91zxrI77Lju1zeqX8G69xMmj8j5a nJvw== 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=4LBaXLBTnULqzbxVp4x6m/VhD6j3lCHmThvUq75R8A0=; b=UTWmGgWpO/4d1U+rq0npGE3mK72l9WiakkV2KZVuGRZkPZXxtppLL5wSkJXntdXLwB JGER+OHNvVp94T5BU/9qa4Jixl8FgC0h5AsPPRxzoaM5uk7vTWMwd5iJB10R28NIBdMs sbluHhpTwDUM1OqC6pHyyq3gS71smcHII1Uxaz+FBZaax9SuMKOGrYieRyj+9BNOJ7jX qTMtpVWteN3zqSvBvpZk7fA8QdICyX0Eh+UCqS3NnFPpV95igP9WrgpebXgwUSvtYDdO MeppP/mjv0wcZv1lzRIyYCepirSSyn1wA8Hl1uleNMhSZEjqXolbG8GN+GoPMAY9q9aM CbLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 b4-v6si6525736pgc.654.2018.07.22.14.22.19; Sun, 22 Jul 2018 14:22:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387758AbeGVWSX (ORCPT + 99 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=20F=C3=A4rber?= To: linux-mips@linux-mips.org Cc: Ralf Baechle , Paul Burton , James Hogan , linux-kernel@vger.kernel.org, =?UTF-8?q?Andreas=20F=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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>; -- 2.16.4