From nobody Sat Jul 24 11:26:07 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 646A212B0973 for ; Sat, 24 Jul 2021 11:26:12 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GX3m33MbCz4X0Z for ; Sat, 24 Jul 2021 11:26:11 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-wm1-x332.google.com with SMTP id j34-20020a05600c1c22b029024e75084404so2197402wms.1 for ; Sat, 24 Jul 2021 04:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:cc:to; bh=tG6PfrI7zkKpBLJ/g3kfI0PCPfBhUoS+JKYJ90vweDk=; b=mpi6U4DMy4JxAvCcKBxrCO+2QfsTbDMz6xCgtgSoddkihkkfuWSM82YxZm2vgQvmSi /e3/TccDndZW71zEJLmFvI38BvsFH05z3NWpDmkEZKJSuPUSZx4gsyDERVsGxIH1c6Uz rYgU8t/joRH5vhTOqw9gG353zzVeZ1NYrqlUjQoUdaYtzjq3p8f/GjMrfF8dmyDH6TTL vNVVw6/AucbIoIp9JTGpxh//3sm3/oxSKnapeLtR0pwarViYBxEHK5RvieGPG6zzYQEo aie/lLksqFzkcQcBiUE9ZcwI2CFqUB8GqlJNrr2hvxtfYWoJJ5XDvjCR088PvGjHkCPS 2N6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:cc:to; bh=tG6PfrI7zkKpBLJ/g3kfI0PCPfBhUoS+JKYJ90vweDk=; b=PxcsV9P+tw2vTAyoTRp2UzYWTL/JVftE/OXqr+dgZpeOuPzrLlQuv0/8Xuh33MDvnT 4RvG/g6+9yk2EBW1ktRfQiYJaTB5rUOShSsw3CPtZ8Tw8UVAUDozlCgwKISTX2KULdqo kD4PSO80TX4w6R7XysVXo9wc+Mu7nhX65nzUGy3jEREA4naIjFQSBZtEbfSaDVl7b/q2 WjLo9UHaSquKqJ9fN8fAJAq1uDK49PR2zcZSueJJ/PnJ65SeYSkwIFTYxzfrSxZkJRMl 5mPJe9dd1XpIFcbVN3ghdL4UdA4v47IR8E+jg82C/GG86oMS6kwmc4hj/tMWVyZL9Zhh e6Cw== X-Gm-Message-State: AOAM531P1q3skdi4/K75OrDE2MrAGF2umuIiYbtZG9naa+w+ILMiMY51 AqgMqmMe3fgQK33d3M/KIsgatl9KNvs= X-Google-Smtp-Source: ABdhPJzrcLIbRd6dTBXhDZRVx3zDKR4vR1TM+sFpZkXO7rtwFoHqzkhTSf9jblBkIzKMyr/PRyeoVQ== X-Received: by 2002:a05:600c:3799:: with SMTP id o25mr18144933wmr.63.1627125969435; Sat, 24 Jul 2021 04:26:09 -0700 (PDT) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id p3sm597802wmp.25.2021.07.24.04.26.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Jul 2021 04:26:08 -0700 (PDT) From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Content-Type: multipart/alternative; boundary="Apple-Mail=_5AFAD427-4233-4424-8CB7-812AB0EB89FF" List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Quartz64 (RK3566) clock driver and patches. Message-Id: Date: Sat, 24 Jul 2021 13:26:07 +0200 Cc: Sleep Walker To: Free BSD X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4GX3m33MbCz4X0Z X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mpi6U4DM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::332 as permitted sender) smtp.mailfrom=sorenschmidt@gmail.com X-Spamd-Result: default: False [-0.61 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_MIXED_CHARSET(0.62)[subject]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::332:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-0.73)[-0.734]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::332:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::332:from]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-ThisMailContainsUnwantedMimeParts: Y --Apple-Mail=_5AFAD427-4233-4424-8CB7-812AB0EB89FF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi=20 As promised, the clk driver I did for the RK3566 used on the Pine = Quartz64 board: https://people.freebsd.org/~sos/Q64/ = Included the buld script, kernel config and u-boot I have used to get = there. I still use the =E2=80=9Call inclusive=E2=80=9D DTS and not the shiny = new =E2=80=9Cofficial=E2=80=9D one (last wont boot :) ) thats for = later=E2=80=A6 Next on is a driver for the RK817 PMIC used on the quartz64=E2=80=A6 Enjoy! -- S=C3=B8ren Schmidt sos@deepcore.dk / sos@freebsd.org "So much code to hack, so little time" --Apple-Mail=_5AFAD427-4233-4424-8CB7-812AB0EB89FF--