lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_5B5F194F6B5511962378DEC1B1B043F3A705@qq.com>
Date: Fri, 23 Jan 2026 22:08:40 +0800
From: "Gary Lau" <zgliu@...mail.com>
To: "Stafford Horne" <shorne@...il.com>
Cc: "linusw" <linusw@...nel.org>, "linux-kernel" <linux-kernel@...r.kernel.org>, "linux-openrisc" <linux-openrisc@...r.kernel.org>, "devicetree" <devicetree@...r.kernel.org>, "robh" <robh@...nel.org>, "krzk+dt" <krzk+dt@...nel.org>, "conor+dt" <conor+dt@...nel.org>, "geert+renesas" <geert+renesas@...der.be>, "krzysztof.kozlowski" <krzysztof.kozlowski@....qualcomm.com>, "brgl" <brgl@...nel.org>, "linux-gpio" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH v6 1/6] dt-bindings: gpio-mmio: Correct opencores GPIO

Hi Stafford,
I've tested the "brcm,bcm6345-gpio" driver with the OpenCores 8-bit GPIO core, and it is working as expected.
For reference, here is the hardware connection logic I used for the OpenRISC to OpenCores GPIO interface:
Verilog:
simple_gpio gpio0 (
    .clk_i  (clk_i),
    .rst_i  (rst_i),
    .cyc_i  (cyc_i & (|sel_i)),
    .stb_i  (stb_i & (|sel_i)),
    .adr_i  (adr_i[2]),
    .we_i   (we_i),
    .dat_i  (dat_i[7:0]),
    .ack_o  (ack_o),
    .dat_o  (dat_o[7:0]),
    .gpio   (gpio[7:0]),
    .gpio_i (gpio_i)
);
And here is the corresponding part of my dts:
gpio0: gpio@...00000 {
    compatible = "brcm,bcm6345-gpio";
    reg = <0x91000000 0x4>, <0x91000004 0x4>;
    reg-names = "dat", "dirout";
    gpio-controller;
    big-endian; 
    status = "okay";






Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ