diff for duplicates of <527A9AB9.2050903@keymile.com> diff --git a/a/1.txt b/N1/1.txt index df2a95d..ef9349f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -20,7 +20,7 @@ On 11/06/2013 06:36 PM, Jason Gunthorpe wrote: > MBUS_ID(0x01, 0x1e) 0 0xfff00000 0x10000 /* spi */ > >; > pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */ -> pex at e0000000 { +> pex@e0000000 { > compatible = "marvell,kirkwood-pcie"; > device_type = "pci"; > ranges = <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 /* Controller regs */ @@ -28,16 +28,16 @@ On 11/06/2013 06:36 PM, Jason Gunthorpe wrote: > >; > > bus-range = <0x0 0xFF>; -> pcie at 1,0 { +> pcie@1,0 { > device_type = "pci"; > assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; > reg = <0x0800 0 0 0 0>; > ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 > 0x81000000 0 0 0x81000000 0x1 0 1 0>; -> fpga at 0 { +> fpga@0 { > reg = <0x8 0 0 0 0>; > ranges = <0x00000000 0x82000000 0x00000000 0x00000000 0x8000000>; -> gpio3: fpga_gpio at 8 { +> gpio3: fpga_gpio@8 { > #gpio-cells = <2>; > compatible = "linux,basic-mmio-gpio"; > gpio-controller; @@ -61,9 +61,9 @@ Second of all, if I understand it correctly (guessing the values for follows (let's say for the first register 0x8 of gpio3): gpio3 (0x8) --> range 0 of fpga at 0 ==> 0x00000000 0x82000000 0x00000000 --> range 0 of pcie at 1,0 ==> 0x82000000 0x1 0 --> range 1 of pex at e0000000 ==> MBUS_ID(0x04, 0xe8) 0 +-> range 0 of fpga@0 ==> 0x00000000 0x82000000 0x00000000 +-> range 0 of pcie@1,0 ==> 0x82000000 0x1 0 +-> range 1 of pex@e0000000 ==> MBUS_ID(0x04, 0xe8) 0 -> range 0 of mbus ==> 0xe0000000 so you end up accessing @0xe0000008, is that right? @@ -130,3 +130,7 @@ does complicate things quite a bit, I'm afraid. Thanks again Jason! Gerlando +-- +To unsubscribe from this list: send the line "unsubscribe devicetree" in +the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index d7704c6..235f934 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,9 +1,14 @@ "ref\0527A1983.6020603@keymile.com\0" "ref\020131106173649.GA25515@obsidianresearch.com\0" - "From\0gerlando.falauto@keymile.com (Gerlando Falauto)\0" - "Subject\0address translation for PCIe-to-localbus bridge\0" + "ref\020131106173649.GA25515-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org\0" + "From\0Gerlando Falauto <gerlando.falauto-SkAbAL50j+5BDgjK7y7TUQ@public.gmane.org>\0" + "Subject\0Re: address translation for PCIe-to-localbus bridge\0" "Date\0Wed, 06 Nov 2013 20:38:33 +0100\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>\0" + "Cc\0devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>" + Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> + linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org <linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org> + " Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" "\00:1\0" "b\0" "Hi Jason,\n" @@ -28,7 +33,7 @@ "> MBUS_ID(0x01, 0x1e) 0 0xfff00000 0x10000 /* spi */\n" "> >;\n" "> pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */\n" - "> pex at e0000000 {\n" + "> pex@e0000000 {\n" "> compatible = \"marvell,kirkwood-pcie\";\n" "> device_type = \"pci\";\n" "> ranges = <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 /* Controller regs */\n" @@ -36,16 +41,16 @@ "> >;\n" ">\n" "> bus-range = <0x0 0xFF>;\n" - "> pcie at 1,0 {\n" + "> pcie@1,0 {\n" "> device_type = \"pci\";\n" "> assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;\n" "> reg = <0x0800 0 0 0 0>;\n" "> ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0\n" "> 0x81000000 0 0 0x81000000 0x1 0 1 0>;\n" - "> fpga at 0 {\n" + "> fpga@0 {\n" "> reg = <0x8 0 0 0 0>;\n" "> ranges = <0x00000000 0x82000000 0x00000000 0x00000000 0x8000000>;\n" - "> gpio3: fpga_gpio at 8 {\n" + "> gpio3: fpga_gpio@8 {\n" "> #gpio-cells = <2>;\n" "> compatible = \"linux,basic-mmio-gpio\";\n" "> gpio-controller;\n" @@ -69,9 +74,9 @@ "follows (let's say for the first register 0x8 of gpio3):\n" "\n" "gpio3 (0x8)\n" - "-> range 0 of fpga at 0 ==> 0x00000000 0x82000000 0x00000000\n" - "-> range 0 of pcie at 1,0 ==> 0x82000000 0x1 0\n" - "-> range 1 of pex at e0000000 ==> MBUS_ID(0x04, 0xe8) 0\n" + "-> range 0 of fpga@0 ==> 0x00000000 0x82000000 0x00000000\n" + "-> range 0 of pcie@1,0 ==> 0x82000000 0x1 0\n" + "-> range 1 of pex@e0000000 ==> MBUS_ID(0x04, 0xe8) 0\n" "-> range 0 of mbus ==> 0xe0000000\n" "\n" "so you end up accessing @0xe0000008, is that right?\n" @@ -137,6 +142,10 @@ "does complicate things quite a bit, I'm afraid.\n" "\n" "Thanks again Jason!\n" - Gerlando + "Gerlando\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe devicetree\" in\n" + "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -9aa2a3320f7bc763a0b55e68f57742932d2d6040c8230fe0ce80eb8009e28488 +ec80745277751a8d690fed700929559405fb59a1d64d01bf9be8a4abf0b52f95
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.